src/compiler/BytecodeEmitter.h
changeset 222 0cde1379b29f
parent 220 5df4a112967d
child 230 fb3cd08bc7fb
     1.1 --- a/src/compiler/BytecodeEmitter.h	Mon Nov 19 02:12:13 2012 -0800
     1.2 +++ b/src/compiler/BytecodeEmitter.h	Thu Dec 20 00:59:38 2012 -0800
     1.3 @@ -513,21 +513,8 @@
     1.4          writeOp(OP_UNWINDLIFO);
     1.5          writeUint32(slot);
     1.6      }
     1.7 -#if 0
     1.8 -    void newref(Variable *var) {
     1.9 -        recordOops();
    1.10 -        if (var->location() == Variable::STACK) {
    1.11 -            ensure(OP_VARREF_LIFO_LENGTH);
    1.12 -            writeOp(OP_VARREF_LIFO);
    1.13 -        } else {
    1.14 -            assert(var->location() == Variable::PARAMETER);
    1.15 -            ensure(OP_ARGREF_LIFO_LENGTH);
    1.16 -            writeOp(OP_ARGREF_LIFO);
    1.17 -        }
    1.18 -        writeUint32(var->slot());
    1.19 -        markOop(1);
    1.20 -    }
    1.21 -#endif
    1.22 +
    1.23 +    void newref(VariableSymbol *var);
    1.24  
    1.25      void slotref_lifo() {
    1.26          recordOops();