Changes between Version 9 and Version 10 of Migrating to NQPrx

Show
Ignore:
Timestamp:
11/18/09 10:14:43 (5 years ago)
Author:
Austin_Hastings
Comment:

Global viv, tt#1308

Legend:

Unmodified
Added
Removed
Modified
  • Migrating to NQPrx

    v9 v10  
    3535 
    3636This same type of change is likely present for hashes, as well. I'm guessing this applies to any hash/array parameter. 
     37 
     38=== Globals not adequately vivified === 
     39 
     40I noticed a bug in `our` variable vivification (#1308). In essence, a sub referencing a global variable does not have viv code inserted, so the global had better be defined on entry, or you need to use the pir::opcodes to check it, or you need to be doing a blind initialization.