Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index efa0e28ba06529c788ef3dc6e19e37494b897dd5..57b23bcb51db2b0815c10390fd2b5529af8908d3 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -705,7 +705,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; |
- DCHECK(StringStream::IsMentionedObjectCacheClear(this)); |
+ DCHECK(accumulator->IsMentionedObjectCacheClear(this)); |
// Avoid printing anything if there are no frames. |
if (c_entry_fp(thread_local_top()) == 0) return; |