Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 41eac5fba9c1d910eeb4de23b071f20a4a5097a5..04f8a7a0274eeaec9d401bc436aad178a182739f 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -1906,7 +1906,7 @@ static void CollectActiveFunctionsFromThread( |
for (JavaScriptFrameIterator it(isolate, top); !it.done(); it.Advance()) { |
JavaScriptFrame* frame = it.frame(); |
if (frame->is_optimized()) { |
- List<JSFunction*> functions(Compiler::kMaxInliningLevels + 1); |
+ List<JSFunction*> functions(FLAG_max_inlining_levels + 1); |
frame->GetFunctions(&functions); |
for (int i = 0; i < functions.length(); i++) { |
JSFunction* function = functions[i]; |