Index: src/frames-arm.cc |
diff --git a/src/frames-arm.cc b/src/frames-arm.cc |
index fe850a8722c73091d66a89244761bb4a132dc144..121fb75be21afc29d742bf187d9d02fec2bd69d5 100644 |
--- a/src/frames-arm.cc |
+++ b/src/frames-arm.cc |
@@ -80,7 +80,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 |