示例#1
0
 BackgroundCompileRequest(STATE, CompiledMethod* cm, Object* mm, bool is_block=false)
   : method_(state)
   , mm_(state)
   , is_block_(is_block)
 {
   method_.set(cm);
   mm_.set(mm);
 }
示例#2
0
 void clear_exception(bool all = false) {
     if(raise_reason_ == cNone) return;
     if(!all && raise_reason_ != cException) {
         std::cout << "WARNING: clearing non exception raise reason!\n";
     }
     raise_value_.set(Qnil);
     raise_reason_ = cNone;
     destination_scope_.set(Qnil);
 }
示例#3
0
 void clear_interrupted_exception() {
   interrupted_exception_.set(cNil);
 }
示例#4
0
 void set_loader(Object* loader) {
   loader_->set(loader);
 }
示例#5
0
 void set_self_class(Class* cls) {
   self_class_.set((Object*)cls);
 }