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

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

Issue 14917020: Inline _OneByteString._setAt. The key knowledge is that _setAt is an internal method that has to be… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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/lib/string_patch.dart ('k') | runtime/vm/flow_graph_optimizer.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_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/assembler.h"
9 #include "vm/simulator.h"
10 #include "vm/runtime_entry.h"
11 #include "vm/stub_code.h"
12
8 // An extra check since we are assuming the existence of /proc/cpuinfo below. 13 // An extra check since we are assuming the existence of /proc/cpuinfo below.
9 #if !defined(USING_SIMULATOR) && !defined(__linux__) 14 #if !defined(USING_SIMULATOR) && !defined(__linux__)
10 #error ARM cross-compile only supported on Linux 15 #error ARM cross-compile only supported on Linux
11 #endif 16 #endif
12 17
13 #include "vm/assembler.h"
14 #include "vm/simulator.h"
15 #include "vm/runtime_entry.h"
16 #include "vm/stub_code.h"
17
18 namespace dart { 18 namespace dart {
19 19
20 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message."); 20 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message.");
21 21
22 22
23 bool CPUFeatures::integer_division_supported_ = false; 23 bool CPUFeatures::integer_division_supported_ = false;
24 #if defined(DEBUG) 24 #if defined(DEBUG)
25 bool CPUFeatures::initialized_ = false; 25 bool CPUFeatures::initialized_ = false;
26 #endif 26 #endif
27 27
(...skipping 2135 matching lines...) Expand 10 before | Expand all | Expand 10 after
2163 2163
2164 const char* Assembler::FpuRegisterName(FpuRegister reg) { 2164 const char* Assembler::FpuRegisterName(FpuRegister reg) {
2165 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); 2165 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters));
2166 return fpu_reg_names[reg]; 2166 return fpu_reg_names[reg];
2167 } 2167 }
2168 2168
2169 } // namespace dart 2169 } // namespace dart
2170 2170
2171 #endif // defined TARGET_ARCH_ARM 2171 #endif // defined TARGET_ARCH_ARM
2172 2172
OLDNEW
« no previous file with comments | « runtime/lib/string_patch.dart ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698