| 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/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
| 9 | 9 |
| 10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
| (...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1325 num_args_checked)); // No arguments checked. | 1325 num_args_checked)); // No arguments checked. |
| 1326 ic_data.AddTarget(target_function); | 1326 ic_data.AddTarget(target_function); |
| 1327 uword label_address = 0; | 1327 uword label_address = 0; |
| 1328 if (ic_data.NumArgsTested() == 0) { | 1328 if (ic_data.NumArgsTested() == 0) { |
| 1329 label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint(); | 1329 label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint(); |
| 1330 } else if (ic_data.NumArgsTested() == 2) { | 1330 } else if (ic_data.NumArgsTested() == 2) { |
| 1331 label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint(); | 1331 label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint(); |
| 1332 } else { | 1332 } else { |
| 1333 UNIMPLEMENTED(); | 1333 UNIMPLEMENTED(); |
| 1334 } | 1334 } |
| 1335 ExternalLabel target_label("StaticCallICStub", label_address); | 1335 ExternalLabel target_label(label_address); |
| 1336 __ LoadObject(R5, ic_data); | 1336 __ LoadObject(R5, ic_data); |
| 1337 GenerateDartCall(deopt_id, | 1337 GenerateDartCall(deopt_id, |
| 1338 token_pos, | 1338 token_pos, |
| 1339 &target_label, | 1339 &target_label, |
| 1340 PcDescriptors::kUnoptStaticCall, | 1340 PcDescriptors::kUnoptStaticCall, |
| 1341 locs); | 1341 locs); |
| 1342 __ Drop(argument_count); | 1342 __ Drop(argument_count); |
| 1343 } | 1343 } |
| 1344 | 1344 |
| 1345 | 1345 |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1783 DRegister dreg = EvenDRegisterOf(reg); | 1783 DRegister dreg = EvenDRegisterOf(reg); |
| 1784 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1784 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1785 } | 1785 } |
| 1786 | 1786 |
| 1787 | 1787 |
| 1788 #undef __ | 1788 #undef __ |
| 1789 | 1789 |
| 1790 } // namespace dart | 1790 } // namespace dart |
| 1791 | 1791 |
| 1792 #endif // defined TARGET_ARCH_ARM | 1792 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |