| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 | 5 |
| 6 #ifndef V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 6 #ifndef V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| 7 #define V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 7 #define V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| 8 | 8 |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 #include "src/mips64/assembler-mips64-inl.h" | 10 #include "src/mips64/assembler-mips64-inl.h" |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 inline void Push(Register source); | 233 inline void Push(Register source); |
| 234 | 234 |
| 235 // Pops a value from the backtrack stack. Reads the word at the stack pointer | 235 // Pops a value from the backtrack stack. Reads the word at the stack pointer |
| 236 // and increments it by a word size. | 236 // and increments it by a word size. |
| 237 inline void Pop(Register target); | 237 inline void Pop(Register target); |
| 238 | 238 |
| 239 Isolate* isolate() const { return masm_->isolate(); } | 239 Isolate* isolate() const { return masm_->isolate(); } |
| 240 | 240 |
| 241 MacroAssembler* masm_; | 241 MacroAssembler* masm_; |
| 242 | 242 |
| 243 // Which mode to generate code for (ASCII or UC16). | 243 // Which mode to generate code for (Latin1 or UC16). |
| 244 Mode mode_; | 244 Mode mode_; |
| 245 | 245 |
| 246 // One greater than maximal register index actually used. | 246 // One greater than maximal register index actually used. |
| 247 int num_registers_; | 247 int num_registers_; |
| 248 | 248 |
| 249 // Number of registers to output at the end (the saved registers | 249 // Number of registers to output at the end (the saved registers |
| 250 // are always 0..num_saved_registers_-1). | 250 // are always 0..num_saved_registers_-1). |
| 251 int num_saved_registers_; | 251 int num_saved_registers_; |
| 252 | 252 |
| 253 // Labels used internally. | 253 // Labels used internally. |
| 254 Label entry_label_; | 254 Label entry_label_; |
| 255 Label start_label_; | 255 Label start_label_; |
| 256 Label success_label_; | 256 Label success_label_; |
| 257 Label backtrack_label_; | 257 Label backtrack_label_; |
| 258 Label exit_label_; | 258 Label exit_label_; |
| 259 Label check_preempt_label_; | 259 Label check_preempt_label_; |
| 260 Label stack_overflow_label_; | 260 Label stack_overflow_label_; |
| 261 Label internal_failure_label_; | 261 Label internal_failure_label_; |
| 262 }; | 262 }; |
| 263 | 263 |
| 264 #endif // V8_INTERPRETED_REGEXP | 264 #endif // V8_INTERPRETED_REGEXP |
| 265 | 265 |
| 266 | 266 |
| 267 }} // namespace v8::internal | 267 }} // namespace v8::internal |
| 268 | 268 |
| 269 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 269 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |