| 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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 __ PopList((1 << R1) | (1 << R2)); | 703 __ PopList((1 << R1) | (1 << R2)); |
| 704 } | 704 } |
| 705 | 705 |
| 706 | 706 |
| 707 void FlowGraphCompiler::EmitInstructionEpilogue(Instruction* instr) { | 707 void FlowGraphCompiler::EmitInstructionEpilogue(Instruction* instr) { |
| 708 if (is_optimizing()) { | 708 if (is_optimizing()) { |
| 709 return; | 709 return; |
| 710 } | 710 } |
| 711 Definition* defn = instr->AsDefinition(); | 711 Definition* defn = instr->AsDefinition(); |
| 712 if ((defn != NULL) && defn->is_used()) { | 712 if ((defn != NULL) && defn->is_used()) { |
| 713 __ Push(defn->locs()->out().reg()); | 713 __ Push(defn->locs()->out(0).reg()); |
| 714 } | 714 } |
| 715 } | 715 } |
| 716 | 716 |
| 717 | 717 |
| 718 // Input parameters: | 718 // Input parameters: |
| 719 // R4: arguments descriptor array. | 719 // R4: arguments descriptor array. |
| 720 void FlowGraphCompiler::CopyParameters() { | 720 void FlowGraphCompiler::CopyParameters() { |
| 721 __ Comment("Copy parameters"); | 721 __ Comment("Copy parameters"); |
| 722 const Function& function = parsed_function().function(); | 722 const Function& function = parsed_function().function(); |
| 723 LocalScope* scope = parsed_function().node_sequence()->scope(); | 723 LocalScope* scope = parsed_function().node_sequence()->scope(); |
| (...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1809 DRegister dreg = EvenDRegisterOf(reg); | 1809 DRegister dreg = EvenDRegisterOf(reg); |
| 1810 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1810 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1811 } | 1811 } |
| 1812 | 1812 |
| 1813 | 1813 |
| 1814 #undef __ | 1814 #undef __ |
| 1815 | 1815 |
| 1816 } // namespace dart | 1816 } // namespace dart |
| 1817 | 1817 |
| 1818 #endif // defined TARGET_ARCH_ARM | 1818 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |