| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 8d155669cf8e2eff0c98f4a7d75b42096a80a227..f0ad02da40c19664ed4634a07731061a8d75632e 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -669,7 +669,7 @@ Handle<JSArray> Isolate::CaptureSimpleStackTrace(Handle<JSObject> error_object,
|
| JavaScriptFrame* frame = JavaScriptFrame::cast(raw_frame);
|
| // Set initial size to the maximum inlining level + 1 for the outermost
|
| // function.
|
| - List<FrameSummary> frames(Compiler::kMaxInliningLevels + 1);
|
| + List<FrameSummary> frames(FLAG_max_inlining_levels + 1);
|
| frame->Summarize(&frames);
|
| for (int i = frames.length() - 1; i >= 0; i--) {
|
| if (cursor + 4 > elements->length()) {
|
| @@ -752,7 +752,7 @@ Handle<JSArray> Isolate::CaptureCurrentStackTrace(
|
| JavaScriptFrame* frame = it.frame();
|
| // Set initial size to the maximum inlining level + 1 for the outermost
|
| // function.
|
| - List<FrameSummary> frames(Compiler::kMaxInliningLevels + 1);
|
| + List<FrameSummary> frames(FLAG_max_inlining_levels + 1);
|
| frame->Summarize(&frames);
|
| for (int i = frames.length() - 1; i >= 0 && frames_seen < limit; i--) {
|
| // Create a JSObject to hold the information for the StackFrame.
|
|
|