| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 virtual void SetRegister(int register_index, int to); | 97 virtual void SetRegister(int register_index, int to); |
| 98 virtual void Succeed(); | 98 virtual void Succeed(); |
| 99 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); | 99 virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); |
| 100 virtual void ClearRegisters(int reg_from, int reg_to); | 100 virtual void ClearRegisters(int reg_from, int reg_to); |
| 101 virtual void WriteStackPointerToRegister(int reg); | 101 virtual void WriteStackPointerToRegister(int reg); |
| 102 | 102 |
| 103 static Result Match(Handle<Code> regexp, | 103 static Result Match(Handle<Code> regexp, |
| 104 Handle<String> subject, | 104 Handle<String> subject, |
| 105 int* offsets_vector, | 105 int* offsets_vector, |
| 106 int offsets_vector_length, | 106 int offsets_vector_length, |
| 107 int previous_index); | 107 int previous_index, |
| 108 Isolate* isolate); |
| 108 | 109 |
| 109 static Result Execute(Code* code, | 110 static Result Execute(Code* code, |
| 110 String* input, | 111 String* input, |
| 111 int start_offset, | 112 int start_offset, |
| 112 const byte* input_start, | 113 const byte* input_start, |
| 113 const byte* input_end, | 114 const byte* input_end, |
| 114 int* output, | 115 int* output, |
| 115 bool at_start); | 116 bool at_start); |
| 116 | 117 |
| 117 // Called from RegExp if the stack-guard is triggered. | 118 // Called from RegExp if the stack-guard is triggered. |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 Label exit_label_; | 272 Label exit_label_; |
| 272 Label check_preempt_label_; | 273 Label check_preempt_label_; |
| 273 Label stack_overflow_label_; | 274 Label stack_overflow_label_; |
| 274 }; | 275 }; |
| 275 | 276 |
| 276 #endif // V8_INTERPRETED_REGEXP | 277 #endif // V8_INTERPRETED_REGEXP |
| 277 | 278 |
| 278 }} // namespace v8::internal | 279 }} // namespace v8::internal |
| 279 | 280 |
| 280 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 281 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |