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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.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_arm.cc ('k') | runtime/vm/flow_graph_compiler_x64.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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 const Register kTempReg = EDI; 289 const Register kTempReg = EDI;
290 return GenerateCallSubtypeTestStub(kTestTypeOneArg, 290 return GenerateCallSubtypeTestStub(kTestTypeOneArg,
291 kInstanceReg, 291 kInstanceReg,
292 kTypeArgumentsReg, 292 kTypeArgumentsReg,
293 kTempReg, 293 kTempReg,
294 is_instance_lbl, 294 is_instance_lbl,
295 is_not_instance_lbl); 295 is_not_instance_lbl);
296 } 296 }
297 297
298 298
299 // Generates inlined check if 'type' is a type parameter or type itsef 299 // Generates inlined check if 'type' is a type parameter or type itself
300 // EAX: instance (preserved). 300 // EAX: instance (preserved).
301 // Clobbers EDX, EDI, ECX. 301 // Clobbers EDX, EDI, ECX.
302 RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest( 302 RawSubtypeTestCache* FlowGraphCompiler::GenerateUninstantiatedTypeTest(
303 intptr_t token_pos, 303 intptr_t token_pos,
304 const AbstractType& type, 304 const AbstractType& type,
305 Label* is_instance_lbl, 305 Label* is_instance_lbl,
306 Label* is_not_instance_lbl) { 306 Label* is_not_instance_lbl) {
307 __ Comment("UninstantiatedTypeTest"); 307 __ Comment("UninstantiatedTypeTest");
308 ASSERT(!type.IsInstantiated()); 308 ASSERT(!type.IsInstantiated());
309 // Skip check if destination is a dynamic type. 309 // Skip check if destination is a dynamic type.
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 __ movups(reg, Address(ESP, 0)); 1776 __ movups(reg, Address(ESP, 0));
1777 __ addl(ESP, Immediate(kFpuRegisterSize)); 1777 __ addl(ESP, Immediate(kFpuRegisterSize));
1778 } 1778 }
1779 1779
1780 1780
1781 #undef __ 1781 #undef __
1782 1782
1783 } // namespace dart 1783 } // namespace dart
1784 1784
1785 #endif // defined TARGET_ARCH_IA32 1785 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698