| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/arm/assembler-arm.h" | 8 #include "src/arm/assembler-arm.h" |
| 9 #include "src/arm/assembler-arm-inl.h" | 9 #include "src/arm/assembler-arm-inl.h" |
| 10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 inline void Push(Register source); | 183 inline void Push(Register source); |
| 184 | 184 |
| 185 // Pops a value from the backtrack stack. Reads the word at the stack pointer | 185 // Pops a value from the backtrack stack. Reads the word at the stack pointer |
| 186 // and increments it by a word size. | 186 // and increments it by a word size. |
| 187 inline void Pop(Register target); | 187 inline void Pop(Register target); |
| 188 | 188 |
| 189 Isolate* isolate() const { return masm_->isolate(); } | 189 Isolate* isolate() const { return masm_->isolate(); } |
| 190 | 190 |
| 191 MacroAssembler* masm_; | 191 MacroAssembler* masm_; |
| 192 | 192 |
| 193 // Which mode to generate code for (ASCII or UC16). | 193 // Which mode to generate code for (Latin1 or UC16). |
| 194 Mode mode_; | 194 Mode mode_; |
| 195 | 195 |
| 196 // One greater than maximal register index actually used. | 196 // One greater than maximal register index actually used. |
| 197 int num_registers_; | 197 int num_registers_; |
| 198 | 198 |
| 199 // Number of registers to output at the end (the saved registers | 199 // Number of registers to output at the end (the saved registers |
| 200 // are always 0..num_saved_registers_-1) | 200 // are always 0..num_saved_registers_-1) |
| 201 int num_saved_registers_; | 201 int num_saved_registers_; |
| 202 | 202 |
| 203 // Labels used internally. | 203 // Labels used internally. |
| 204 Label entry_label_; | 204 Label entry_label_; |
| 205 Label start_label_; | 205 Label start_label_; |
| 206 Label success_label_; | 206 Label success_label_; |
| 207 Label backtrack_label_; | 207 Label backtrack_label_; |
| 208 Label exit_label_; | 208 Label exit_label_; |
| 209 Label check_preempt_label_; | 209 Label check_preempt_label_; |
| 210 Label stack_overflow_label_; | 210 Label stack_overflow_label_; |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 #endif // V8_INTERPRETED_REGEXP | 213 #endif // V8_INTERPRETED_REGEXP |
| 214 | 214 |
| 215 | 215 |
| 216 }} // namespace v8::internal | 216 }} // namespace v8::internal |
| 217 | 217 |
| 218 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 218 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |