| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 4127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4138 // Note that index is expected smi-tagged, (i.e, times 2) for all arrays. | 4138 // Note that index is expected smi-tagged, (i.e, times 2) for all arrays. |
| 4139 // [0]: divide resut, [1]: mod result. | 4139 // [0]: divide resut, [1]: mod result. |
| 4140 __ mov(temp, ShifterOperand(0 + | 4140 __ mov(temp, ShifterOperand(0 + |
| 4141 FlowGraphCompiler::DataOffsetFor(kArrayCid) - kHeapObjectTag)); | 4141 FlowGraphCompiler::DataOffsetFor(kArrayCid) - kHeapObjectTag)); |
| 4142 Address store_address(result, temp, LSL, 0); | 4142 Address store_address(result, temp, LSL, 0); |
| 4143 __ StoreIntoObjectNoBarrier(result, store_address, result_div); | 4143 __ StoreIntoObjectNoBarrier(result, store_address, result_div); |
| 4144 __ add(temp, temp, ShifterOperand(kWordSize)); | 4144 __ add(temp, temp, ShifterOperand(kWordSize)); |
| 4145 __ StoreIntoObjectNoBarrier(result, store_address, result_mod); | 4145 __ StoreIntoObjectNoBarrier(result, store_address, result_mod); |
| 4146 return; | 4146 return; |
| 4147 } | 4147 } |
| 4148 if (kind() == MergedMathInstr::kSinCos) { |
| 4149 UNIMPLEMENTED(); |
| 4150 } |
| 4148 UNIMPLEMENTED(); | 4151 UNIMPLEMENTED(); |
| 4149 } | 4152 } |
| 4150 | 4153 |
| 4151 | 4154 |
| 4152 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary() const { | 4155 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary() const { |
| 4153 return MakeCallSummary(); | 4156 return MakeCallSummary(); |
| 4154 } | 4157 } |
| 4155 | 4158 |
| 4156 | 4159 |
| 4157 void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4160 void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4627 compiler->GenerateCall(token_pos(), | 4630 compiler->GenerateCall(token_pos(), |
| 4628 &label, | 4631 &label, |
| 4629 PcDescriptors::kOther, | 4632 PcDescriptors::kOther, |
| 4630 locs()); | 4633 locs()); |
| 4631 __ Drop(2); // Discard type arguments and receiver. | 4634 __ Drop(2); // Discard type arguments and receiver. |
| 4632 } | 4635 } |
| 4633 | 4636 |
| 4634 } // namespace dart | 4637 } // namespace dart |
| 4635 | 4638 |
| 4636 #endif // defined TARGET_ARCH_ARM | 4639 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |