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

Unified Diff: runtime/vm/cpu_test.cc

Issue 14593004: Fix dartbug.com/10415: (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/cpu_mips.cc ('k') | runtime/vm/os.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/cpu_test.cc
===================================================================
--- runtime/vm/cpu_test.cc (revision 22412)
+++ runtime/vm/cpu_test.cc (working copy)
@@ -15,9 +15,17 @@
#elif defined(TARGET_ARCH_X64)
EXPECT_STREQ("x64", CPU::Id());
#elif defined(TARGET_ARCH_ARM)
+#if defined(HOST_ARCH_ARM)
EXPECT_STREQ("arm", CPU::Id());
+#else // defined(HOST_ARCH_ARM)
+ EXPECT_STREQ("simarm", CPU::Id());
+#endif // defined(HOST_ARCH_ARM)
#elif defined(TARGET_ARCH_MIPS)
+#if defined(HOST_ARCH_MIPS)
EXPECT_STREQ("mips", CPU::Id());
+#else // defined(HOST_ARCH_MIPS)
+ EXPECT_STREQ("simmips", CPU::Id());
+#endif // defined(HOST_ARCH_MIPS)
#else
#error Architecture was not detected as supported by Dart.
#endif
« no previous file with comments | « runtime/vm/cpu_mips.cc ('k') | runtime/vm/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698