| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 82412a3b16a0b5ba30672d08adbab1dc805e0f20..3d81219fddc84fa2b4bbea104a70f54cdff22cdb 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1382,6 +1382,7 @@ MaybeHandle<Code> Compiler::GetOptimizedCode(Handle<JSFunction> function,
|
| Isolate* isolate = info->isolate();
|
| DCHECK(AllowCompilation::IsAllowed(isolate));
|
| VMState<COMPILER> state(isolate);
|
| + DCHECK(isolate->use_crankshaft());
|
| DCHECK(!isolate->has_pending_exception());
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
|
|