CompiledCode* CompiledCode::dup(STATE) { CompiledCode* code = state->memory()->new_object<CompiledCode>(state, G(compiled_code)); code->copy_object(state, this); code->set_executor(CompiledCode::default_executor); code->machine_code(NULL); return code; }
CompiledCode* CompiledCode::dup(STATE) { CompiledCode* code = state->new_object_dirty<CompiledCode>(G(compiled_code)); code->copy_object(state, this); code->set_executor(CompiledCode::default_executor); code->jit_data_ = NULL; code->machine_code_ = NULL; return code; }
CompiledCode* CompiledCode::dup(STATE) { CompiledCode* code = CompiledCode::create(state); code->copy_object(state, this); code->set_executor(CompiledCode::default_executor); code->jit_data_ = NULL; code->machine_code_ = NULL; return code; }