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

Unified Diff: runtime/lib/object.cc

Issue 1105453003: Remove public int.is64Bit. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/internal_patch.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/object.cc
===================================================================
--- runtime/lib/object.cc (revision 45400)
+++ runtime/lib/object.cc (working copy)
@@ -319,4 +319,12 @@
}
+DEFINE_NATIVE_ENTRY(Internal_inquireIs64Bit, 0) {
+#if defined(ARCH_IS_64_BIT)
+ return Bool::True().raw();
+#else
+ return Bool::False().raw();
+#endif // defined(ARCH_IS_64_BIT)
+}
+
} // namespace dart
« no previous file with comments | « runtime/lib/internal_patch.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698