| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index ffd432a68546f73dcd551a46999216960b052364..a7e6adb7912a726f04d77f4ac56d9c5087c78aff 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1213,15 +1213,13 @@ bool Genesis::InstallSpecialObjects() {
|
| Handle<JSObject>(js_global->builtins()), DONT_ENUM);
|
| }
|
|
|
| - if (FLAG_capture_stack_traces) {
|
| - Handle<Object> Error = GetProperty(js_global, "Error");
|
| - if (Error->IsJSObject()) {
|
| - Handle<String> name = Factory::LookupAsciiSymbol("captureStackTraces");
|
| - SetProperty(Handle<JSObject>::cast(Error),
|
| - name,
|
| - Factory::true_value(),
|
| - NONE);
|
| - }
|
| + Handle<Object> Error = GetProperty(js_global, "Error");
|
| + if (Error->IsJSObject()) {
|
| + Handle<String> name = Factory::LookupAsciiSymbol("stackTraceLimit");
|
| + SetProperty(Handle<JSObject>::cast(Error),
|
| + name,
|
| + Handle<Smi>(Smi::FromInt(FLAG_stack_trace_limit)),
|
| + NONE);
|
| }
|
|
|
| #ifdef ENABLE_DEBUGGER_SUPPORT
|
|
|