| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 3a615d7a81f155d6ada0f2f6154bb75b2960bc06..3eba1a3645ef87b1b52fc3217b5211719a155073 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -2317,7 +2317,7 @@ LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
|
| LParameter* result = new(zone()) LParameter;
|
| - if (info()->IsOptimizing()) {
|
| + if (instr->kind() == HParameter::STACK_PARAMETER) {
|
| int spill_index = chunk()->GetParameterStackSlot(instr->index());
|
| return DefineAsSpilled(result, spill_index);
|
| } else {
|
|
|