Fix IA32 build when not using native regexp compiler.
Review URL: http://codereview.chromium.org/173003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
f20c7be069
commit
03a39152b9
@ -38,6 +38,7 @@
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
||||
#ifdef V8_NATIVE_REGEXP
|
||||
/*
|
||||
* This assembler uses the following register assignment convention
|
||||
* - edx : current character. Must be loaded using LoadCurrentCharacter
|
||||
@ -1172,4 +1173,7 @@ void RegExpMacroAssemblerIA32::LoadCurrentCharacterUnchecked(int cp_offset,
|
||||
|
||||
|
||||
#undef __
|
||||
|
||||
#endif // V8_NATIVE_REGEXP
|
||||
|
||||
}} // namespace v8::internal
|
||||
|
@ -31,6 +31,14 @@
|
||||
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);
|
||||
@ -224,6 +232,7 @@ class RegExpMacroAssemblerIA32: public NativeRegExpMacroAssembler {
|
||||
Label check_preempt_label_;
|
||||
Label stack_overflow_label_;
|
||||
};
|
||||
#endif // V8_NATIVE_REGEXP
|
||||
|
||||
}} // namespace v8::internal
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user