コード例 #1
0
ファイル: jit.hpp プロジェクト: stormbrew/rubinius
 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
ファイル: thread_state.hpp プロジェクト: vasco/rubinius
 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
 Exception* interrupted_exception() {
   return interrupted_exception_.get();
 }
コード例 #4
0
ファイル: jit.hpp プロジェクト: stormbrew/rubinius
 CompiledMethod* method() {
   return method_.get();
 }
コード例 #5
0
ファイル: jit.hpp プロジェクト: stormbrew/rubinius
 BlockEnvironment* block_env() {
   return try_as<BlockEnvironment>(mm_.get());
 }
コード例 #6
0
ファイル: jit.hpp プロジェクト: stormbrew/rubinius
 VMMethod* vmmethod() {
   return method_->backend_method();
 }
コード例 #7
0
ファイル: environment.hpp プロジェクト: Red54/rubinius
 Object* loader() {
   return loader_->get();
 }
コード例 #8
0
 Class* self_class() {
   return self_class_.get();
 }
コード例 #9
0
ファイル: channel.cpp プロジェクト: atoulme/rubinius
 virtual void call(Object* obj) {
   chan->send(state, obj);
 }
コード例 #10
0
ファイル: channel.cpp プロジェクト: atoulme/rubinius
 virtual Object* object() {
   return chan.get();
 }
コード例 #11
0
ファイル: thread_state.hpp プロジェクト: stormbrew/rubinius
 Object* throw_dest() {
   return throw_dest_.get();
 }
コード例 #12
0
ファイル: thread_state.hpp プロジェクト: stormbrew/rubinius
 VariableScope* destination_scope() {
   return destination_scope_.get();
 }
コード例 #13
0
ファイル: thread_state.hpp プロジェクト: stormbrew/rubinius
 Object* raise_value() {
   return raise_value_.get();
 }
コード例 #14
0
 void set_self_class(Class* cls) {
   self_class_.set((Object*)cls);
 }
コード例 #15
0
 void clear_interrupted_exception() {
   interrupted_exception_.set(cNil);
 }
コード例 #16
0
ファイル: inline_block.hpp プロジェクト: Azzurrio/rubinius
 CompiledCode* method() {
   return method_.get();
 }
コード例 #17
0
ファイル: environment.hpp プロジェクト: Red54/rubinius
 void set_loader(Object* loader) {
   loader_->set(loader);
 }