Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index 6b0bb1b658d9d4d3921c88e45791945ee7705284..2ea864a77f179cfd8ba3d619863448bf93e55379 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -63,6 +63,7 @@ class ScriptData { |
class CompilationInfo { |
public: |
CompilationInfo(Handle<JSFunction> closure, Zone* zone); |
+ CompilationInfo(Isolate* isolate, Zone* zone); |
virtual ~CompilationInfo(); |
Isolate* isolate() const { |
@@ -391,7 +392,6 @@ class CompilationInfo { |
void Initialize(Isolate* isolate, Mode mode, Zone* zone); |
void SetMode(Mode mode) { |
- ASSERT(isolate()->use_crankshaft()); |
mode_ = mode; |
} |