| Index: src/runtime/runtime-compiler.cc
|
| diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc
|
| index de974a2df505aee31ec1604508e95b362ed3d13e..c79616873202bfd348fc4fdc89649f449028f3b5 100644
|
| --- a/src/runtime/runtime-compiler.cc
|
| +++ b/src/runtime/runtime-compiler.cc
|
| @@ -71,6 +71,8 @@ Object* CompileOptimized(Isolate* isolate, Handle<JSFunction> function,
|
|
|
| DCHECK(function->code()->kind() == Code::FUNCTION ||
|
| function->code()->kind() == Code::OPTIMIZED_FUNCTION ||
|
| + (function->code()->is_interpreter_entry_trampoline() &&
|
| + function->shared()->HasBytecodeArray()) ||
|
| function->IsInOptimizationQueue());
|
| return function->code();
|
| }
|
|
|