Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index e8e094577d3bde8be4f9ee617ac778bac6eab5fc..f4e334dbb2624ab5f417a86349e065b3836d4f91 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -1681,8 +1681,7 @@ void CodeGenerator::AssemblePrologue() { |
} else if (descriptor->IsJSFunctionCall()) { |
// TODO(turbofan): this prologue is redundant with OSR, but needed for |
// code aging. |
- CompilationInfo* info = this->info(); |
- __ Prologue(info->IsCodePreAgingActive()); |
+ __ Prologue(this->info()->GeneratePreagedPrologue()); |
} else if (frame()->needs_frame()) { |
__ StubPrologue(); |
} else { |