| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index ba5facc57d171064e1c92077ef8d071df413e9fa..638d2f15a5f130c57cc0d5bf037298347ee356aa 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -546,7 +546,9 @@ class PipelineCompilationJob final : public CompilationJob {
|
|
|
| PipelineCompilationJob::Status PipelineCompilationJob::PrepareJobImpl() {
|
| if (info()->shared_info()->asm_function()) {
|
| - if (info()->osr_frame()) info()->MarkAsFrameSpecializing();
|
| + if (info()->osr_frame() && !info()->is_optimizing_from_bytecode()) {
|
| + info()->MarkAsFrameSpecializing();
|
| + }
|
| info()->MarkAsFunctionContextSpecializing();
|
| } else {
|
| if (!FLAG_always_opt) {
|
|
|