src/compiler/BytecodeEmitter.h
changeset 256 3c184218462d
parent 247 7721042bdb67
child 262 c4b1341297e5
     1.1 --- a/src/compiler/BytecodeEmitter.h	Tue Jan 01 20:08:34 2013 -0800
     1.2 +++ b/src/compiler/BytecodeEmitter.h	Sun Jan 06 13:52:21 2013 -0800
     1.3 @@ -681,6 +681,13 @@
     1.4              jump(labels[i]);
     1.5      }
     1.6  
     1.7 +    void import(unsigned index) {
     1.8 +        ensure(OP_IMPORT_LENGTH);
     1.9 +        writeOp(OP_IMPORT);
    1.10 +        writeUint32(index);
    1.11 +        markOop(1);
    1.12 +    }
    1.13 +
    1.14      bool allocate(VariableSymbol *sym);
    1.15  
    1.16      Code *finish();