Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index 89c7868d838cef52f5b6b2ce752e0ba43a8662f1..1422defaa99d1d57638a5ae639c976d719d407be 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -40,6 +40,7 @@ |
#include "regexp-macro-assembler-irregexp.h" |
#ifdef V8_NATIVE_REGEXP |
#ifdef V8_TARGET_ARCH_ARM |
+#include "arm/macro-assembler-arm.h" |
#include "arm/regexp-macro-assembler-arm.h" |
#endif |
#ifdef V8_TARGET_ARCH_X64 |
@@ -605,11 +606,12 @@ TEST(DispatchTableConstruction) { |
#ifdef V8_NATIVE_REGEXP |
-#ifdef V8_TARGET_ARCH_IA32 |
+#if V8_TARGET_ARCH_IA32 |
typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; |
-#endif |
-#ifdef V8_TARGET_ARCH_X64 |
+#elif V8_TARGET_ARCH_X64 |
typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; |
+#elif V8_TARGET_ARCH_ARM |
+typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; |
#endif |
class ContextInitializer { |