Index: test/cctest/test-regexp.cc |
=================================================================== |
--- test/cctest/test-regexp.cc (revision 4367) |
+++ test/cctest/test-regexp.cc (working copy) |
@@ -38,7 +38,9 @@ |
#include "jsregexp.h" |
#include "regexp-macro-assembler.h" |
#include "regexp-macro-assembler-irregexp.h" |
-#ifdef V8_NATIVE_REGEXP |
+#ifdef V8_INTERPRETED_REGEXP |
+#include "interpreter-irregexp.h" |
+#else // V8_INTERPRETED_REGEXP |
#ifdef V8_TARGET_ARCH_ARM |
#include "arm/macro-assembler-arm.h" |
#include "arm/regexp-macro-assembler-arm.h" |
@@ -51,9 +53,7 @@ |
#include "ia32/macro-assembler-ia32.h" |
#include "ia32/regexp-macro-assembler-ia32.h" |
#endif |
-#else |
-#include "interpreter-irregexp.h" |
-#endif |
+#endif // V8_INTERPRETED_REGEXP |
using namespace v8::internal; |
@@ -645,7 +645,7 @@ |
// Tests of interpreter. |
-#ifdef V8_NATIVE_REGEXP |
+#ifndef V8_INTERPRETED_REGEXP |
#if V8_TARGET_ARCH_IA32 |
typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; |
@@ -1267,7 +1267,7 @@ |
Top::clear_pending_exception(); |
} |
-#else // ! V8_REGEX_NATIVE |
+#else // V8_INTERPRETED_REGEXP |
TEST(MacroAssembler) { |
V8::Initialize(NULL); |
@@ -1332,7 +1332,7 @@ |
CHECK_EQ(42, captures[0]); |
} |
-#endif // ! V8_REGEXP_NATIVE |
+#endif // V8_INTERPRETED_REGEXP |
TEST(AddInverseToTable) { |