Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index bdb168fe0d107a397a724bded304902be20a8774..4f6a47244cfe20383bab5a4c48b9d0bb6f6dafda 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -335,7 +335,7 @@ class CompilationInfo { |
void Initialize(Isolate* isolate, Mode mode, Zone* zone); |
void SetMode(Mode mode) { |
- ASSERT(V8::UseCrankshaft()); |
+ ASSERT(isolate()->use_crankshaft()); |
mode_ = mode; |
} |