Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 152cd30d5b125789da857ca98abb3dd7d914d087..53f510849ec0cd3ebb13e4397c1477637d7eebd7 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -777,7 +777,7 @@ void JavaScriptFrame::PrintTop(Isolate* isolate, |
bool print_line_number) { |
// constructor calls |
HandleScope scope(isolate); |
- AssertNoAllocation no_allocation; |
+ DisallowHeapAllocation no_allocation; |
JavaScriptFrameIterator it(isolate); |
while (!it.done()) { |
if (it.frame()->is_java_script()) { |