Index: src/frames-ia32.cc |
diff --git a/src/frames-ia32.cc b/src/frames-ia32.cc |
index 2b24777257bd23e1331a704fc13b25f5819e0d45..1bc62ec22621e960ded1d4361940f7012d481775 100644 |
--- a/src/frames-ia32.cc |
+++ b/src/frames-ia32.cc |
@@ -78,7 +78,7 @@ int JavaScriptFrame::GetProvidedParametersCount() const { |
Address JavaScriptFrame::GetCallerStackPointer() const { |
int arguments; |
- if (Heap::gc_state() != Heap::NOT_IN_GC) { |
+ if (Heap::gc_state() != Heap::NOT_IN_GC || disable_heap_access_) { |
// The arguments for cooked frames are traversed as if they were |
// expression stack elements of the calling frame. The reason for |
// this rather strange decision is that we cannot access the |