| OLD | NEW |
| 1 // Copyright 2008-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2008-2009 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void PushCurrentPosition(); | 58 virtual void PushCurrentPosition(); |
| 59 virtual void Backtrack(); | 59 virtual void Backtrack(); |
| 60 virtual void GoTo(Label* label); | 60 virtual void GoTo(Label* label); |
| 61 virtual void PushBacktrack(Label* label); | 61 virtual void PushBacktrack(Label* label); |
| 62 virtual void Succeed(); | 62 virtual void Succeed(); |
| 63 virtual void Fail(); | 63 virtual void Fail(); |
| 64 virtual void PopRegister(int register_index); | 64 virtual void PopRegister(int register_index); |
| 65 virtual void PushRegister(int register_index, | 65 virtual void PushRegister(int register_index, |
| 66 StackCheckFlag check_stack_limit); | 66 StackCheckFlag check_stack_limit); |
| 67 virtual void AdvanceRegister(int reg, int by); // r[reg] += by. | 67 virtual void AdvanceRegister(int reg, int by); // r[reg] += by. |
| 68 virtual void SetCurrentPositionFromEnd(int by); | |
| 69 virtual void SetRegister(int register_index, int to); | 68 virtual void SetRegister(int register_index, int to); |
| 70 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); | 69 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); |
| 71 virtual void ClearRegisters(int reg_from, int reg_to); | 70 virtual void ClearRegisters(int reg_from, int reg_to); |
| 72 virtual void ReadCurrentPositionFromRegister(int reg); | 71 virtual void ReadCurrentPositionFromRegister(int reg); |
| 73 virtual void WriteStackPointerToRegister(int reg); | 72 virtual void WriteStackPointerToRegister(int reg); |
| 74 virtual void ReadStackPointerFromRegister(int reg); | 73 virtual void ReadStackPointerFromRegister(int reg); |
| 75 virtual void LoadCurrentCharacter(int cp_offset, | 74 virtual void LoadCurrentCharacter(int cp_offset, |
| 76 Label* on_end_of_input, | 75 Label* on_end_of_input, |
| 77 bool check_bounds = true, | 76 bool check_bounds = true, |
| 78 int characters = 1); | 77 int characters = 1); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 static const int kInvalidPC = -1; | 132 static const int kInvalidPC = -1; |
| 134 | 133 |
| 135 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); | 134 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); |
| 136 }; | 135 }; |
| 137 | 136 |
| 138 #endif // V8_INTERPRETED_REGEXP | 137 #endif // V8_INTERPRETED_REGEXP |
| 139 | 138 |
| 140 } } // namespace v8::internal | 139 } } // namespace v8::internal |
| 141 | 140 |
| 142 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 141 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
| OLD | NEW |