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

Unified Diff: runtime/vm/cpu_arm.h

Issue 467103005: Fixes to support ARMv5 lego mindstorm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpu_arm.h
===================================================================
--- runtime/vm/cpu_arm.h (revision 39210)
+++ runtime/vm/cpu_arm.h (working copy)
@@ -53,6 +53,10 @@
DEBUG_ASSERT(initialized_);
return arm_version_;
}
+ static intptr_t store_pc_read_offset() {
+ DEBUG_ASSERT(initialized_);
+ return store_pc_read_offset_;
+ }
#if !defined(HOST_ARCH_ARM)
static void set_integer_division_supported(bool supported) {
@@ -80,6 +84,7 @@
static bool neon_supported_;
static bool hardfp_supported_;
static ARMVersion arm_version_;
+ static intptr_t store_pc_read_offset_;
#if defined(DEBUG)
static bool initialized_;
#endif
@@ -102,6 +107,9 @@
static bool vfp_supported() {
return HostCPUFeatures::vfp_supported();
}
+ static bool can_divide() {
+ return integer_division_supported() || vfp_supported();
+ }
static bool neon_supported() {
return HostCPUFeatures::neon_supported();
}
@@ -114,6 +122,9 @@
static ARMVersion arm_version() {
return HostCPUFeatures::arm_version();
}
+ static intptr_t store_pc_read_offset() {
+ return HostCPUFeatures::store_pc_read_offset();
+ }
};
} // namespace dart
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698