Index: src/ia32/regexp-macro-assembler-ia32.h |
=================================================================== |
--- src/ia32/regexp-macro-assembler-ia32.h (revision 2703) |
+++ src/ia32/regexp-macro-assembler-ia32.h (working copy) |
@@ -31,6 +31,14 @@ |
namespace v8 { |
namespace internal { |
+#ifndef V8_NATIVE_REGEXP |
Lasse Reichstein
2009/08/19 05:19:57
If we don't use native regexps then we shouldn't i
|
+class RegExpMacroAssemblerIA32: public RegExpMacroAssembler { |
+ public: |
+ RegExpMacroAssemblerIA32() { } |
+ virtual ~RegExpMacroAssemblerIA32() { } |
+}; |
+ |
+#else |
class RegExpMacroAssemblerIA32: public NativeRegExpMacroAssembler { |
public: |
RegExpMacroAssemblerIA32(Mode mode, int registers_to_save); |
@@ -224,6 +232,7 @@ |
Label check_preempt_label_; |
Label stack_overflow_label_; |
}; |
+#endif // V8_NATIVE_REGEXP |
}} // namespace v8::internal |