Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index 62597fbe1c519afeb4d3d8a3ead65498feb927d9..33a83c7795315738c49b58d7c3fc097d32c7633c 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -597,6 +597,8 @@ TEST(DispatchTableConstruction) { |
} |
+// Tests of interpreter. |
+ |
TEST(MacroAssembler) { |
V8::Initialize(NULL); |
byte codes[1024]; |
@@ -660,8 +662,8 @@ TEST(MacroAssembler) { |
CHECK_EQ(42, captures[0]); |
} |
- |
-#ifdef V8_TARGET_ARCH_IA32 // IA32 only tests. |
+#ifdef V8_TARGET_ARCH_IA32 // IA32 Native Regexp only tests. |
+#ifdef V8_NATIVE_REGEXP |
class ContextInitializer { |
public: |
@@ -1284,10 +1286,10 @@ TEST(MacroAssemblerIA32LotsOfRegisters) { |
Top::clear_pending_exception(); |
} |
+#endif // V8_REGEXP_NATIVE |
+#endif // V8_TARGET_ARCH_IA32 |
-#endif // !defined ARM |
- |
TEST(AddInverseToTable) { |
static const int kLimit = 1000; |
static const int kRangeCount = 16; |