| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // Load a number of characters at the given offset from the | 153 // Load a number of characters at the given offset from the |
| 154 // current position, into the current-character register. | 154 // current position, into the current-character register. |
| 155 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count); | 155 void LoadCurrentCharacterUnchecked(int cp_offset, int character_count); |
| 156 | 156 |
| 157 // Check whether preemption has been requested. | 157 // Check whether preemption has been requested. |
| 158 void CheckPreemption(); | 158 void CheckPreemption(); |
| 159 | 159 |
| 160 // Check whether we are exceeding the stack limit on the backtrack stack. | 160 // Check whether we are exceeding the stack limit on the backtrack stack. |
| 161 void CheckStackLimit(); | 161 void CheckStackLimit(); |
| 162 | 162 |
| 163 void EmitBacktrackConstantPool(); | |
| 164 int GetBacktrackConstantPoolEntry(); | |
| 165 | |
| 166 | 163 |
| 167 // Generate a call to CheckStackGuardState. | 164 // Generate a call to CheckStackGuardState. |
| 168 void CallCheckStackGuardState(Register scratch); | 165 void CallCheckStackGuardState(Register scratch); |
| 169 | 166 |
| 170 // The ebp-relative location of a regexp register. | 167 // The ebp-relative location of a regexp register. |
| 171 MemOperand register_location(int register_index); | 168 MemOperand register_location(int register_index); |
| 172 | 169 |
| 173 // Register holding the current input position as negative offset from | 170 // Register holding the current input position as negative offset from |
| 174 // the end of the string. | 171 // the end of the string. |
| 175 inline Register current_input_offset() { return r6; } | 172 inline Register current_input_offset() { return r6; } |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 Label check_preempt_label_; | 237 Label check_preempt_label_; |
| 241 Label stack_overflow_label_; | 238 Label stack_overflow_label_; |
| 242 }; | 239 }; |
| 243 | 240 |
| 244 #endif // V8_INTERPRETED_REGEXP | 241 #endif // V8_INTERPRETED_REGEXP |
| 245 | 242 |
| 246 | 243 |
| 247 }} // namespace v8::internal | 244 }} // namespace v8::internal |
| 248 | 245 |
| 249 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 246 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |