| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 723cb46159723d1e8b00128749404884850d2174..d711abefb8338ead3c661268696013612f3a1253 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -504,6 +504,10 @@ PipelineCompilationJob::Status PipelineCompilationJob::CreateGraphImpl() {
|
| info()->MarkAsDeoptimizationEnabled();
|
| }
|
|
|
| + if (!info()->shared_info()->HasBytecodeArray()) {
|
| + if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED;
|
| + }
|
| +
|
| Pipeline pipeline(info());
|
| pipeline.GenerateCode();
|
| if (isolate()->has_pending_exception()) return FAILED; // Stack overflowed.
|
|
|