src/compiler/BytecodeEmitter.h
changeset 220 5df4a112967d
parent 195 c1ba166f3fc4
child 222 0cde1379b29f
     1.1 --- a/src/compiler/BytecodeEmitter.h	Sun Nov 18 22:18:23 2012 -0800
     1.2 +++ b/src/compiler/BytecodeEmitter.h	Mon Nov 19 01:13:44 2012 -0800
     1.3 @@ -333,24 +333,8 @@
     1.4      }
     1.5      void getlocal(VariableSymbol *var);
     1.6      void setlocal(VariableSymbol *var);
     1.7 -#if 0
     1.8 -    void getarg(Variable *var) {
     1.9 -        ensure(OP_GETARG_LENGTH);
    1.10 -        writeOp(OP_GETARG);
    1.11 -        writeUint32(var->slot());
    1.12 -
    1.13 -        if (var->type()->isTraceable())
    1.14 -            markOop(1);
    1.15 -    }
    1.16 -    void setarg(Variable *var) {
    1.17 -        ensure(OP_SETARG_LENGTH);
    1.18 -        writeOp(OP_SETARG);
    1.19 -        writeUint32(var->slot());
    1.20 -
    1.21 -        if (var->type()->isTraceable())
    1.22 -            markOop(1);
    1.23 -    }
    1.24 -#endif
    1.25 +    void getarg(VariableSymbol *var);
    1.26 +    void setarg(VariableSymbol *var);
    1.27  
    1.28      void j(Opcode op, Label *label) {
    1.29          // Since jumps can skip around the stream, do not try to do anything