Chromium Code Reviews| Index: runtime/vm/object_dbc_test.cc |
| diff --git a/runtime/vm/object_dbc_test.cc b/runtime/vm/object_dbc_test.cc |
| index 464350d17a73ddbff4a1b3032312a7dff0f8f745..f69e354a42f846e9dc379f501391df0032455cbe 100644 |
| --- a/runtime/vm/object_dbc_test.cc |
| +++ b/runtime/vm/object_dbc_test.cc |
| @@ -18,12 +18,7 @@ namespace dart { |
| // This is used to test Code and Instruction object creation. |
| void GenerateIncrement(Assembler* assembler) { |
|
Vyacheslav Egorov (Google)
2016/06/01 22:41:10
Add a comment that we don't want to generate incre
zra
2016/06/03 16:08:57
Done.
|
| __ Frame(1); |
| - __ LoadConstant(0, Smi::Handle(Smi::New(0))); |
| - __ PushConstant(Smi::Handle(Smi::New(1))); |
| - __ Push(0); |
| - __ AddTOS(); |
| - __ Trap(); |
| - __ PopLocal(0); |
| + __ LoadConstant(0, Smi::Handle(Smi::New(1))); |
| __ Return(0); |
| } |