CompiledMethod* CompiledMethod::dup_cm(STATE) { CompiledMethod* cm = CompiledMethod::create(state); cm->copy_object(state, this); cm->set_executor(CompiledMethod::default_executor); cm->jit_data_ = NULL; cm->backend_method_ = NULL; return cm; }