| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 6b4a4f1d280736d461f8effa53631b289f933017..bea5ee3da2374e09f5f122c9b67174003ef3ea41 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -2211,6 +2211,17 @@ bool Genesis::InstallSpecialObjects(Handle<Context> native_context) {
|
| false);
|
| }
|
|
|
| + // Expose the stack trace symbol to native JS.
|
| + RETURN_ON_EXCEPTION_VALUE(
|
| + isolate,
|
| + JSObject::SetOwnPropertyIgnoreAttributes(
|
| + handle(native_context->builtins(), isolate),
|
| + factory->InternalizeOneByteString(
|
| + STATIC_ASCII_VECTOR("stack_trace_symbol")),
|
| + factory->stack_trace_symbol(),
|
| + NONE),
|
| + false);
|
| +
|
| // Expose the debug global object in global if a name for it is specified.
|
| if (FLAG_expose_debug_as != NULL && strlen(FLAG_expose_debug_as) != 0) {
|
| // If loading fails we just bail out without installing the
|
|
|