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

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

Issue 16638012: Switch code generation on ARM from softfp ABI to hardfp ABI. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/stub_code_mips.cc ('k') | tests/language/language.status » ('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" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Cache Context pointer into CTX while executing Dart code. 89 // Cache Context pointer into CTX while executing Dart code.
90 __ movq(CTX, RBX); 90 __ movq(CTX, RBX);
91 91
92 __ LeaveFrame(); 92 __ LeaveFrame();
93 __ ret(); 93 __ ret();
94 } 94 }
95 95
96 96
97 // Print the stop message. 97 // Print the stop message.
98 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, const char* message) { 98 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) {
99 OS::Print("Stop message: %s\n", message); 99 OS::Print("Stop message: %s\n", message);
100 } 100 }
101 END_LEAF_RUNTIME_ENTRY 101 END_LEAF_RUNTIME_ENTRY
102 102
103 103
104 // Input parameters: 104 // Input parameters:
105 // RSP : points to return address. 105 // RSP : points to return address.
106 // RDI : stop message (const char*). 106 // RDI : stop message (const char*).
107 // Must preserve all registers. 107 // Must preserve all registers.
108 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) { 108 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) {
(...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after
2101 __ cmpq(left, right); 2101 __ cmpq(left, right);
2102 __ Bind(&done); 2102 __ Bind(&done);
2103 __ popq(right); 2103 __ popq(right);
2104 __ popq(left); 2104 __ popq(left);
2105 __ ret(); 2105 __ ret();
2106 } 2106 }
2107 2107
2108 } // namespace dart 2108 } // namespace dart
2109 2109
2110 #endif // defined TARGET_ARCH_X64 2110 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_mips.cc ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698