diff options
Diffstat (limited to 'chromium/v8/src/regexp-macro-assembler.h')
-rw-r--r-- | chromium/v8/src/regexp-macro-assembler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/v8/src/regexp-macro-assembler.h b/chromium/v8/src/regexp-macro-assembler.h index f0cfc465fc6..f72cc4d42db 100644 --- a/chromium/v8/src/regexp-macro-assembler.h +++ b/chromium/v8/src/regexp-macro-assembler.h @@ -48,7 +48,7 @@ class RegExpMacroAssembler { // kCheckStackLimit flag to push operations (instead of kNoStackLimitCheck) // at least once for every stack_limit() pushes that are executed. virtual int stack_limit_slack() = 0; - virtual bool CanReadUnaligned(); + virtual bool CanReadUnaligned() = 0; virtual void AdvanceCurrentPosition(int by) = 0; // Signed cp change. virtual void AdvanceRegister(int reg, int by) = 0; // r[reg] += by. // Continues execution from the position pushed on the top of the backtrack @@ -171,7 +171,7 @@ class RegExpMacroAssembler { class NativeRegExpMacroAssembler: public RegExpMacroAssembler { public: // Type of input string to generate code for. - enum Mode { ASCII = 1, UC16 = 2 }; + enum Mode { LATIN1 = 1, UC16 = 2 }; // Result of calling generated native RegExp code. // RETRY: Something significant changed during execution, and the matching |