| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index eac7ebcc994a0210501fadfa0c87edfe95be7b2b..d6d3d14ffd3acd3ea8697785e9abd949e82ca86b 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1393,11 +1393,9 @@ Handle<Code> Factory::NewCode(const CodeDesc& desc,
|
| desc.origin->PopulateConstantPool(*constant_pool);
|
| code->set_constant_pool(*constant_pool);
|
|
|
| -#ifdef ENABLE_DEBUGGER_SUPPORT
|
| if (code->kind() == Code::FUNCTION) {
|
| code->set_has_debug_break_slots(isolate()->debugger()->IsDebuggerActive());
|
| }
|
| -#endif
|
|
|
| // Allow self references to created code object by patching the handle to
|
| // point to the newly allocated Code object.
|
| @@ -2031,7 +2029,6 @@ Handle<JSFunction> Factory::NewFunctionWithPrototype(Handle<String> name,
|
| }
|
|
|
|
|
| -#ifdef ENABLE_DEBUGGER_SUPPORT
|
| Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) {
|
| // Get the original code of the function.
|
| Handle<Code> code(shared->code());
|
| @@ -2061,7 +2058,6 @@ Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) {
|
|
|
| return debug_info;
|
| }
|
| -#endif
|
|
|
|
|
| Handle<JSObject> Factory::NewArgumentsObject(Handle<Object> callee,
|
|
|