| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual void SetRegister(int register_index, int to); | 69 virtual void SetRegister(int register_index, int to); |
| 70 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); | 70 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); |
| 71 virtual void ClearRegisters(int reg_from, int reg_to); | 71 virtual void ClearRegisters(int reg_from, int reg_to); |
| 72 virtual void ReadCurrentPositionFromRegister(int reg); | 72 virtual void ReadCurrentPositionFromRegister(int reg); |
| 73 virtual void WriteStackPointerToRegister(int reg); | 73 virtual void WriteStackPointerToRegister(int reg); |
| 74 virtual void ReadStackPointerFromRegister(int reg); | 74 virtual void ReadStackPointerFromRegister(int reg); |
| 75 virtual void LoadCurrentCharacter(int cp_offset, | 75 virtual void LoadCurrentCharacter(int cp_offset, |
| 76 Label* on_end_of_input, | 76 Label* on_end_of_input, |
| 77 bool check_bounds = true, | 77 bool check_bounds = true, |
| 78 int characters = 1); | 78 int characters = 1); |
| 79 virtual void CheckCharacter(uint32_t c, Label* on_equal); | 79 virtual void CheckCharacter(unsigned c, Label* on_equal); |
| 80 virtual void CheckCharacterAfterAnd(uint32_t c, | 80 virtual void CheckCharacterAfterAnd(unsigned c, |
| 81 uint32_t mask, | 81 unsigned mask, |
| 82 Label* on_equal); | 82 Label* on_equal); |
| 83 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 83 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
| 84 virtual void CheckCharacterLT(uc16 limit, Label* on_less); | 84 virtual void CheckCharacterLT(uc16 limit, Label* on_less); |
| 85 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); | 85 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); |
| 86 virtual void CheckAtStart(Label* on_at_start); | 86 virtual void CheckAtStart(Label* on_at_start); |
| 87 virtual void CheckNotAtStart(Label* on_not_at_start); | 87 virtual void CheckNotAtStart(Label* on_not_at_start); |
| 88 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); | 88 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal); |
| 89 virtual void CheckNotCharacterAfterAnd(uint32_t c, | 89 virtual void CheckNotCharacterAfterAnd(unsigned c, |
| 90 uint32_t mask, | 90 unsigned mask, |
| 91 Label* on_not_equal); | 91 Label* on_not_equal); |
| 92 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, | 92 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, |
| 93 uc16 minus, | 93 uc16 minus, |
| 94 uc16 mask, | 94 uc16 mask, |
| 95 Label* on_not_equal); | 95 Label* on_not_equal); |
| 96 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); | 96 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); |
| 97 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, | 97 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
| 98 Label* on_no_match); | 98 Label* on_no_match); |
| 99 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); | 99 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); |
| 100 virtual void CheckCharacters(Vector<const uc16> str, | 100 virtual void CheckCharacters(Vector<const uc16> str, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 static const int kInvalidPC = -1; | 133 static const int kInvalidPC = -1; |
| 134 | 134 |
| 135 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); | 135 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 #endif // V8_INTERPRETED_REGEXP | 138 #endif // V8_INTERPRETED_REGEXP |
| 139 | 139 |
| 140 } } // namespace v8::internal | 140 } } // namespace v8::internal |
| 141 | 141 |
| 142 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ | 142 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ |
| OLD | NEW |