Index: runtime/vm/unit_test.h |
diff --git a/runtime/vm/unit_test.h b/runtime/vm/unit_test.h |
index defaea68c6cd51bbaa2fb38eebf3515df9690e59..4a5dc4143e46335e4005fb9cf8c7ed0f43f52b07 100644 |
--- a/runtime/vm/unit_test.h |
+++ b/runtime/vm/unit_test.h |
@@ -157,10 +157,12 @@ |
#if defined(TARGET_ARCH_ARM) || \ |
defined(TARGET_ARCH_MIPS) || \ |
- defined(TARGET_ARCH_ARM64) |
+ defined(TARGET_ARCH_ARM64) || \ |
+ defined(TARGET_ARCH_DBC) |
#if defined(HOST_ARCH_ARM) || \ |
defined(HOST_ARCH_MIPS) || \ |
- defined(HOST_ARCH_ARM64) |
+ defined(HOST_ARCH_ARM64) || \ |
+ !defined(TARGET_ARCH_DBC) |
// Running on actual ARM or MIPS 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)() |
@@ -374,7 +376,7 @@ class AssemblerTest { |
// using the ABI calling convention. |
// ResultType is the return type of the assembler test function. |
// ArgNType is the type of the Nth argument. |
-#if defined(USING_SIMULATOR) |
+#if defined(USING_SIMULATOR) && !defined(TARGET_ARCH_DBC) |
zra
2016/04/14 18:27:50
add !defined(TARGET_ARCH_DBC) at endif
Vyacheslav Egorov (Google)
2016/04/18 15:56:43
Done.
|
#if defined(ARCH_IS_64_BIT) |
// TODO(fschneider): Make InvokeWithCodeAndThread<> more general and work on |