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

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

Issue 2850783002: Dart SDK Spelling b, c, and d. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « runtime/vm/constants_dbc.h ('k') | runtime/vm/debugger.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/cpu.h" 8 #include "vm/cpu.h"
9 #include "vm/cpu_arm.h" 9 #include "vm/cpu_arm.h"
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 #if !defined(USING_SIMULATOR) 142 #if !defined(USING_SIMULATOR)
143 #if HOST_OS_IOS 143 #if HOST_OS_IOS
144 void HostCPUFeatures::InitOnce() { 144 void HostCPUFeatures::InitOnce() {
145 // TODO(24743): Actually check the CPU features and fail if we're missing 145 // TODO(24743): Actually check the CPU features and fail if we're missing
146 // something assumed in a precompiled snapshot. 146 // something assumed in a precompiled snapshot.
147 hardware_ = ""; 147 hardware_ = "";
148 // When the VM is targetted to ARMv7, pretend that the CPU is ARMv7 even if 148 // When the VM is targetted to ARMv7, pretend that the CPU is ARMv7 even if
149 // the CPU is actually AArch64. 149 // the CPU is actually AArch64.
150 arm_version_ = ARMv7; 150 arm_version_ = ARMv7;
151 // Always assume we have floating point unit since we dont support ARMv6 in 151 // Always assume we have floating point unit since we don't support ARMv6 in
152 // this path. 152 // this path.
153 vfp_supported_ = FLAG_use_vfp; 153 vfp_supported_ = FLAG_use_vfp;
154 integer_division_supported_ = FLAG_use_integer_division; 154 integer_division_supported_ = FLAG_use_integer_division;
155 neon_supported_ = FLAG_use_neon; 155 neon_supported_ = FLAG_use_neon;
156 hardfp_supported_ = true; 156 hardfp_supported_ = true;
157 #if defined(DEBUG) 157 #if defined(DEBUG)
158 initialized_ = true; 158 initialized_ = true;
159 #endif 159 #endif
160 } 160 }
161 #else // HOST_OS_IOS 161 #else // HOST_OS_IOS
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 ASSERT(hardware_ != NULL); 293 ASSERT(hardware_ != NULL);
294 free(const_cast<char*>(hardware_)); 294 free(const_cast<char*>(hardware_));
295 hardware_ = NULL; 295 hardware_ = NULL;
296 CpuInfo::Cleanup(); 296 CpuInfo::Cleanup();
297 } 297 }
298 #endif // !defined(USING_SIMULATOR) 298 #endif // !defined(USING_SIMULATOR)
299 299
300 } // namespace dart 300 } // namespace dart
301 301
302 #endif // defined TARGET_ARCH_ARM 302 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/constants_dbc.h ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698