Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index afd3803e42cf10dd8b08505685906dfd237e27da..ea06d73b84f52eb313053062f271f870ce47b698 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -823,6 +823,7 @@ static void PrintFrames(Isolate* isolate, |
void Isolate::PrintStack(StringStream* accumulator, PrintStackMode mode) { |
// The MentionedObjectCache is not GC-proof at the moment. |
DisallowHeapAllocation no_gc; |
+ HandleScope scope(this); |
DCHECK(accumulator->IsMentionedObjectCacheClear(this)); |
// Avoid printing anything if there are no frames. |