Example #1
0
  JITMethodInfo::JITMethodInfo(jit::Context& ctx, CompiledCode* code, MachineCode* mcode,
                  JITMethodInfo* parent)
    : context_(ctx)
    , entry_(0)
    , call_frame_(0)
    , stack_(0)
    , args_(0)
    , previous_(0)
    , profiling_entry_(0)
    , parent_info_(parent)
    , creator_info_(0)
    , use_full_scope_(false)
    , inline_block_(0)
    , block_info_(0)
    , method_(&ctx.state()->roots())
    , return_pad_(0)
    , return_phi_(0)
    , self_class_(&ctx.state()->roots())

    , machine_code(mcode)
    , is_block(false)
    , inline_return(0)
    , return_value(0)
    , inline_policy(0)
    , fin_block(0)
    , called_args(-1)
    , stack_args(0)
    , root(0)
  {
    method_.set(code);
    self_class_.set(nil<Object>());
  }
Example #2
0
 JITMethodInfo::JITMethodInfo(jit::Context& ctx, CompiledMethod* cm, VMMethod* v,
                 JITMethodInfo* parent)
   : context_(ctx)
   , function_(0)
   , entry_(0)
   , call_frame_(0)
   , stack_(0)
   , vm_(0)
   , args_(0)
   , previous_(0)
   , profiling_entry_(0)
   , out_args_(0)
   , counter_(0)
   , parent_info_(parent)
   , creator_info_(0)
   , use_full_scope_(false)
   , inline_block_(0)
   , block_info_(0)
   , method_(&ctx.state()->roots())
   , vmm(v)
   , is_block(false)
   , inline_return(0)
   , return_value(0)
   , inline_policy(0)
   , fin_block(0)
   , called_args(-1)
   , stack_args(0)
   , root(0)
 {
   method_.set(cm);
 }