Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 6a2d48f446ffc4556b3ca1b56f3903ffe2ea4613..4eb33e2976f3634412a1f311015f8f700244ed04 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -294,7 +294,9 @@ class Compiler : public AllStatic { |
// clear this list of handles as well. |
class CompilationZoneScope : public ZoneScope { |
public: |
- explicit CompilationZoneScope(ZoneScopeMode mode) : ZoneScope(mode) { } |
+ CompilationZoneScope(Isolate* isolate, ZoneScopeMode mode) |
+ : ZoneScope(isolate, mode) {} |
+ |
virtual ~CompilationZoneScope() { |
if (ShouldDeleteOnExit()) { |
Isolate* isolate = Isolate::Current(); |