Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Side by Side Diff: runtime/vm/flow_graph_compiler_arm.cc

Issue 207063002: Refactor to support multiple outputs in location summary (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698