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

Unified Diff: runtime/vm/unit_test.h

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup Created 3 years, 6 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/stub_code_mips_test.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unit_test.h
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h
index 44300b9f6f4efb8b91b40a671247cbaa2449d603..bb275c231e0227c24dbdbeb23a1280c78f42d9f4 100644
--- a/runtime/vm/unit_test.h
+++ b/runtime/vm/unit_test.h
@@ -162,11 +162,9 @@
}
-#if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS) || \
- defined(TARGET_ARCH_ARM64)
-#if defined(HOST_ARCH_ARM) || defined(HOST_ARCH_MIPS) || \
- defined(HOST_ARCH_ARM64)
-// Running on actual ARM or MIPS hardware, execute code natively.
+#if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_ARM64)
+#if defined(HOST_ARCH_ARM) || defined(HOST_ARCH_ARM64)
+// Running on actual ARM hardware, execute code natively.
#define EXECUTE_TEST_CODE_INT32(name, entry) reinterpret_cast<name>(entry)()
#define EXECUTE_TEST_CODE_INT64(name, entry) reinterpret_cast<name>(entry)()
#define EXECUTE_TEST_CODE_INT64_LL(name, entry, long_arg0, long_arg1) \
@@ -182,7 +180,7 @@
#define EXECUTE_TEST_CODE_INT32_INTPTR(name, entry, pointer_arg) \
reinterpret_cast<name>(entry)(pointer_arg)
#else
-// Not running on ARM or MIPS hardware, call simulator to execute code.
+// Not running on ARM hardware, call simulator to execute code.
#if defined(ARCH_IS_64_BIT)
#define EXECUTE_TEST_CODE_INT64(name, entry) \
static_cast<int64_t>( \
@@ -232,8 +230,8 @@
Utils::Low32Bits(bit_cast<int64_t, double>(double_arg)), \
Utils::High32Bits(bit_cast<int64_t, double>(double_arg)), 0, 0, false, \
true))
-#endif // defined(HOST_ARCH_ARM) || defined(HOST_ARCH_MIPS)
-#endif // defined(TARGET_ARCH_{ARM, ARM64, MIPS})
+#endif // defined(HOST_ARCH_ARM)
+#endif // defined(TARGET_ARCH_{ARM, ARM64})
inline Dart_Handle NewString(const char* str) {
« no previous file with comments | « runtime/vm/stub_code_mips_test.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698