Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index 25f5a09afd5b2aa04e97237c892206f95017cbbc..ac75999d07f6290a3374ac11480f9547ec71b4f3 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2008 the V8 project authors. All rights reserved. |
+/// Copyright 2008 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -38,9 +38,13 @@ |
#include "jsregexp-inl.h" |
#include "regexp-macro-assembler.h" |
#include "regexp-macro-assembler-irregexp.h" |
-#ifdef ARM |
+#ifdef V8_ARCH_ARM |
#include "arm/regexp-macro-assembler-arm.h" |
-#else // IA32 |
+#endif |
+#ifdef V8_ARCH_X64 |
+// No X64-implementation yet. |
+#endif |
+#ifdef V8_ARCH_IA32 |
#include "ia32/macro-assembler-ia32.h" |
#include "ia32/regexp-macro-assembler-ia32.h" |
#endif |
@@ -657,7 +661,7 @@ TEST(MacroAssembler) { |
} |
-#ifndef ARM // IA32 only tests. |
+#ifdef V8_ARCH_IA32 // IA32 only tests. |
class ContextInitializer { |
public: |