Index: src/jsregexp.h |
diff --git a/src/jsregexp.h b/src/jsregexp.h |
index bab875667680e4359a30f170498c31b1abf2773e..01ceaf4be281abef784dfab157d3f8d207cbe446 100644 |
--- a/src/jsregexp.h |
+++ b/src/jsregexp.h |
@@ -1617,7 +1617,7 @@ class RegExpEngine: public AllStatic { |
struct CompilationResult { |
explicit CompilationResult(const char* error_message) |
: error_message(error_message), |
- code(HEAP->the_hole_value()), |
+ code(Isolate::Current()->heap()->the_hole_value()), |
num_registers(0) {} |
CompilationResult(Object* code, int registers) |
: error_message(NULL), |