本文整理汇总了C++中TypedRoot类的典型用法代码示例。如果您正苦于以下问题:C++ TypedRoot类的具体用法?C++ TypedRoot怎么用?C++ TypedRoot使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了TypedRoot类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: BackgroundCompileRequest
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: clear_exception
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: method
CompiledMethod* method() {
return method_.get();
}
示例4: block_env
BlockEnvironment* block_env() {
return try_as<BlockEnvironment>(mm_.get());
}
示例5: vmmethod
VMMethod* vmmethod() {
return method_->backend_method();
}
示例6: loader
Object* loader() {
return loader_->get();
}
示例7: call
virtual void call(Object* obj) {
chan->send(state, obj);
}
示例8: object
virtual Object* object() {
return chan.get();
}
示例9: throw_dest
Object* throw_dest() {
return throw_dest_.get();
}
示例10: destination_scope
VariableScope* destination_scope() {
return destination_scope_.get();
}
示例11: raise_value
Object* raise_value() {
return raise_value_.get();
}
示例12: method
CompiledCode* method() {
return method_.get();
}
示例13: set_loader
void set_loader(Object* loader) {
loader_->set(loader);
}