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

Side by Side Diff: runtime/vm/stub_code_ia32.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_arm.cc ('k') | runtime/vm/stub_code_mips.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" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Cache Context pointer into CTX while executing Dart code. 88 // Cache Context pointer into CTX while executing Dart code.
89 __ movl(CTX, ECX); 89 __ movl(CTX, ECX);
90 90
91 __ LeaveFrame(); 91 __ LeaveFrame();
92 __ ret(); 92 __ ret();
93 } 93 }
94 94
95 95
96 // Print the stop message. 96 // Print the stop message.
97 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, const char* message) { 97 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) {
98 OS::Print("Stop message: %s\n", message); 98 OS::Print("Stop message: %s\n", message);
99 } 99 }
100 END_LEAF_RUNTIME_ENTRY 100 END_LEAF_RUNTIME_ENTRY
101 101
102 102
103 // Input parameters: 103 // Input parameters:
104 // ESP : points to return address. 104 // ESP : points to return address.
105 // EAX : stop message (const char*). 105 // EAX : stop message (const char*).
106 // Must preserve all registers, except EAX. 106 // Must preserve all registers, except EAX.
107 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) { 107 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) {
(...skipping 2039 matching lines...) Expand 10 before | Expand all | Expand 10 after
2147 __ Bind(&done); 2147 __ Bind(&done);
2148 __ popl(temp); 2148 __ popl(temp);
2149 __ popl(right); 2149 __ popl(right);
2150 __ popl(left); 2150 __ popl(left);
2151 __ ret(); 2151 __ ret();
2152 } 2152 }
2153 2153
2154 } // namespace dart 2154 } // namespace dart
2155 2155
2156 #endif // defined TARGET_ARCH_IA32 2156 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698