Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 5d90f062e0a1c33e6d3838a07907466e05c80217..167277f799617974fdd08c84e7fc71a0f5005610 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -489,7 +489,7 @@ Address StackFrame::UnpaddedFP() const { |
Code* EntryFrame::unchecked_code() const { |
- return HEAP->js_entry_code(); |
+ return isolate()->heap()->js_entry_code(); |
} |
@@ -512,7 +512,7 @@ StackFrame::Type EntryFrame::GetCallerState(State* state) const { |
Code* EntryConstructFrame::unchecked_code() const { |
- return HEAP->js_construct_entry_code(); |
+ return isolate()->heap()->js_construct_entry_code(); |
} |