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

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

Issue 14192032: Implement missing features to run Hello world! in checked mode on simulated ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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_ia32.cc ('k') | runtime/vm/intermediate_language_arm.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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "lib/error.h" 10 #include "lib/error.h"
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 const Register kTempReg = R10; 288 const Register kTempReg = R10;
289 return GenerateCallSubtypeTestStub(kTestTypeOneArg, 289 return GenerateCallSubtypeTestStub(kTestTypeOneArg,
290 kInstanceReg, 290 kInstanceReg,
291 kTypeArgumentsReg, 291 kTypeArgumentsReg,
292 kTempReg, 292 kTempReg,
293 is_instance_lbl, 293 is_instance_lbl,
294 is_not_instance_lbl); 294 is_not_instance_lbl);
295 } 295 }
296 296
297 297
298 // Generates inlined check if 'type' is a type parameter or type itsef 298 // Generates inlined check if 'type' is a type parameter or type itself
299 // RAX: instance (preserved). 299 // RAX: instance (preserved).
300 // Clobbers RDI, RDX, R10. 300 // Clobbers RDI, RDX, R10.
301 RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest( 301 RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest(
302 intptr_t token_pos, 302 intptr_t token_pos,
303 const AbstractType& type, 303 const AbstractType& type,
304 Label* is_instance_lbl, 304 Label* is_instance_lbl,
305 Label* is_not_instance_lbl) { 305 Label* is_not_instance_lbl) {
306 __ Comment("UninstantiatedTypeTest"); 306 __ Comment("UninstantiatedTypeTest");
307 ASSERT(!type.IsInstantiated()); 307 ASSERT(!type.IsInstantiated());
308 // Skip check if destination is a dynamic type. 308 // Skip check if destination is a dynamic type.
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1760 __ movups(reg, Address(RSP, 0)); 1760 __ movups(reg, Address(RSP, 0));
1761 __ addq(RSP, Immediate(kFpuRegisterSize)); 1761 __ addq(RSP, Immediate(kFpuRegisterSize));
1762 } 1762 }
1763 1763
1764 1764
1765 #undef __ 1765 #undef __
1766 1766
1767 } // namespace dart 1767 } // namespace dart
1768 1768
1769 #endif // defined TARGET_ARCH_X64 1769 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698