jitcraft/Interpreter.cpp
changeset 53 13bd3a8df334
parent 47 050939c6181e
child 59 b7d61ddb3c8d
     1.1 --- a/jitcraft/Interpreter.cpp	Sat Jul 07 01:45:33 2012 -0400
     1.2 +++ b/jitcraft/Interpreter.cpp	Sat Jul 07 17:11:31 2012 -0700
     1.3 @@ -365,14 +365,7 @@
     1.4  
     1.5  case OP_CALLGLOBAL:
     1.6  {
     1.7 -    class BlahVisitor : public VirtualObjectVisitor
     1.8 -    {
     1.9 -      public:
    1.10 -        void visit(Object **ptr) {
    1.11 -            printf("Visiting %p %p\n", ptr, *ptr);
    1.12 -        }
    1.13 -    } blah;
    1.14 -    zone->stack().accept(&blah);
    1.15 +    zone->heap().reclaim();
    1.16      unsigned index = READ_UINT32(top.pc);
    1.17      Local<Function> newFun(zone, top.fp->code()->module()->getFunction(index));
    1.18      if (!zone->stack().pushFrame(newFun)) {