Exemplo n.º 1
0
PRIM_DECL_1(block_method, oop receiver){
  PROLOGUE_1("block_method", receiver);
  return blockClosureOop(receiver)->method();
}
Exemplo n.º 2
0
PRIM_DECL_1(block_is_optimized, oop receiver){
  PROLOGUE_1("blockRepeat", receiver);
  return blockClosureOop(receiver)->isCompiledBlock() ? trueObj : falseObj;
}
Exemplo n.º 3
0
 void do_object(memOop obj) {
   if (obj->is_block() && blockClosureOop(obj)->isCompiledBlock()) {
     blockClosureOop(obj)->deoptimize();
   }
 }