| Index: runtime/vm/flow_graph_compiler.cc
|
| diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
|
| index 264b623ade62d524a66d1fd3562d0a00c9cc2d39..04d9cdb68080bb4ff453f4138f709109e2a0c45a 100644
|
| --- a/runtime/vm/flow_graph_compiler.cc
|
| +++ b/runtime/vm/flow_graph_compiler.cc
|
| @@ -49,8 +49,7 @@ RawDeoptInfo* DeoptimizationStub::CreateDeoptInfo(FlowGraphCompiler* compiler) {
|
| // Assign locations to values pushed above spill slots with PushArgument.
|
| intptr_t height = compiler->StackSize();
|
| for (intptr_t i = 0; i < values.length(); i++) {
|
| - if (deoptimization_env_->LocationAt(i).IsInvalid() &&
|
| - !values[i]->IsConstant()) {
|
| + if (deoptimization_env_->LocationAt(i).IsInvalid()) {
|
| ASSERT(values[i]->AsUse()->definition()->IsPushArgument());
|
| *deoptimization_env_->LocationSlotAt(i) = Location::StackSlot(height++);
|
| }
|
|
|