| 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_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ |
| 6 #define V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ |
| 7 | 7 |
| 8 #include "src/ia32/assembler-ia32.h" | 8 #include "src/ia32/assembler-ia32.h" |
| 9 #include "src/ia32/assembler-ia32-inl.h" | 9 #include "src/ia32/assembler-ia32-inl.h" |
| 10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 inline void Push(Immediate value); | 167 inline void Push(Immediate value); |
| 168 | 168 |
| 169 // Pops a value from the backtrack stack. Reads the word at the stack pointer | 169 // Pops a value from the backtrack stack. Reads the word at the stack pointer |
| 170 // (ecx) and increments it by a word size. | 170 // (ecx) and increments it by a word size. |
| 171 inline void Pop(Register target); | 171 inline void Pop(Register target); |
| 172 | 172 |
| 173 Isolate* isolate() const { return masm_->isolate(); } | 173 Isolate* isolate() const { return masm_->isolate(); } |
| 174 | 174 |
| 175 MacroAssembler* masm_; | 175 MacroAssembler* masm_; |
| 176 | 176 |
| 177 // Which mode to generate code for (ASCII or UC16). | 177 // Which mode to generate code for (LATIN1 or UC16). |
| 178 Mode mode_; | 178 Mode mode_; |
| 179 | 179 |
| 180 // One greater than maximal register index actually used. | 180 // One greater than maximal register index actually used. |
| 181 int num_registers_; | 181 int num_registers_; |
| 182 | 182 |
| 183 // Number of registers to output at the end (the saved registers | 183 // Number of registers to output at the end (the saved registers |
| 184 // are always 0..num_saved_registers_-1) | 184 // are always 0..num_saved_registers_-1) |
| 185 int num_saved_registers_; | 185 int num_saved_registers_; |
| 186 | 186 |
| 187 // Labels used internally. | 187 // Labels used internally. |
| 188 Label entry_label_; | 188 Label entry_label_; |
| 189 Label start_label_; | 189 Label start_label_; |
| 190 Label success_label_; | 190 Label success_label_; |
| 191 Label backtrack_label_; | 191 Label backtrack_label_; |
| 192 Label exit_label_; | 192 Label exit_label_; |
| 193 Label check_preempt_label_; | 193 Label check_preempt_label_; |
| 194 Label stack_overflow_label_; | 194 Label stack_overflow_label_; |
| 195 }; | 195 }; |
| 196 #endif // V8_INTERPRETED_REGEXP | 196 #endif // V8_INTERPRETED_REGEXP |
| 197 | 197 |
| 198 }} // namespace v8::internal | 198 }} // namespace v8::internal |
| 199 | 199 |
| 200 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ | 200 #endif // V8_IA32_REGEXP_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |