BackgroundCompileRequest(STATE, CompiledMethod* cm, Object* mm, bool is_block=false) : method_(state) , mm_(state) , is_block_(is_block) { method_.set(cm); mm_.set(mm); }
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); }
void clear_interrupted_exception() { interrupted_exception_.set(cNil); }
void set_loader(Object* loader) { loader_->set(loader); }
void set_self_class(Class* cls) { self_class_.set((Object*)cls); }