namespace v8 {
namespace internal {
+#ifdef V8_NATIVE_REGEXP
/*
* This assembler uses the following register assignment convention
* - edx : current character. Must be loaded using LoadCurrentCharacter
#undef __
+
+#endif // V8_NATIVE_REGEXP
+
}} // namespace v8::internal
namespace v8 {
namespace internal {
+#ifndef V8_NATIVE_REGEXP
+class RegExpMacroAssemblerIA32: public RegExpMacroAssembler {
+ public:
+ RegExpMacroAssemblerIA32() { }
+ virtual ~RegExpMacroAssemblerIA32() { }
+};
+
+#else
class RegExpMacroAssemblerIA32: public NativeRegExpMacroAssembler {
public:
RegExpMacroAssemblerIA32(Mode mode, int registers_to_save);
Label check_preempt_label_;
Label stack_overflow_label_;
};
+#endif // V8_NATIVE_REGEXP
}} // namespace v8::internal