Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 8db6f4bd198c2a044bc213b795c0f5a000feac68..7b261786dbd8d4ae06ceaacd1f5a1b287a6b4175 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -1532,7 +1532,7 @@ inline bool Context::has_out_of_memory() { |
// Mark the native context with out of memory. |
inline void Context::mark_out_of_memory() { |
- native_context()->set_out_of_memory(HEAP->true_value()); |
+ native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); |
} |