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

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

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/assembler_ia32.h ('k') | runtime/vm/assembler_macros.h » ('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) 2012, 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/code_generator.h" 9 #include "vm/code_generator.h"
10 #include "vm/heap.h" 10 #include "vm/heap.h"
11 #include "vm/heap_trace.h" 11 #include "vm/heap_trace.h"
(...skipping 2076 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 ASSERT((0 <= reg) && (reg < kNumberOfCpuRegisters)); 2088 ASSERT((0 <= reg) && (reg < kNumberOfCpuRegisters));
2089 return cpu_reg_names[reg]; 2089 return cpu_reg_names[reg];
2090 } 2090 }
2091 2091
2092 2092
2093 static const char* xmm_reg_names[kNumberOfXmmRegisters] = { 2093 static const char* xmm_reg_names[kNumberOfXmmRegisters] = {
2094 "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7" 2094 "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7"
2095 }; 2095 };
2096 2096
2097 2097
2098 const char* Assembler::XmmRegisterName(XmmRegister reg) { 2098 const char* Assembler::FpuRegisterName(FpuRegister reg) {
2099 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); 2099 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters));
2100 return xmm_reg_names[reg]; 2100 return xmm_reg_names[reg];
2101 } 2101 }
2102 2102
2103 2103
2104 } // namespace dart 2104 } // namespace dart
2105 2105
2106 #endif // defined TARGET_ARCH_IA32 2106 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.h ('k') | runtime/vm/assembler_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698