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