| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 inline void Push(Label* label); | 262 inline void Push(Label* label); |
| 263 | 263 |
| 264 // Pops a value from the backtrack stack. Reads the word at the stack pointer | 264 // Pops a value from the backtrack stack. Reads the word at the stack pointer |
| 265 // (rcx) and increments it by a word size. | 265 // (rcx) and increments it by a word size. |
| 266 inline void Pop(Register target); | 266 inline void Pop(Register target); |
| 267 | 267 |
| 268 // Drops the top value from the backtrack stack without reading it. | 268 // Drops the top value from the backtrack stack without reading it. |
| 269 // Increments the stack pointer (rcx) by a word size. | 269 // Increments the stack pointer (rcx) by a word size. |
| 270 inline void Drop(); | 270 inline void Drop(); |
| 271 | 271 |
| 272 inline void ReadPositionFromRegister(Register dst, int reg); |
| 273 |
| 272 Isolate* isolate() const { return masm_.isolate(); } | 274 Isolate* isolate() const { return masm_.isolate(); } |
| 273 | 275 |
| 274 MacroAssembler masm_; | 276 MacroAssembler masm_; |
| 275 MacroAssembler::NoRootArrayScope no_root_array_scope_; | 277 MacroAssembler::NoRootArrayScope no_root_array_scope_; |
| 276 | 278 |
| 277 ZoneList<int> code_relative_fixup_positions_; | 279 ZoneList<int> code_relative_fixup_positions_; |
| 278 | 280 |
| 279 // Which mode to generate code for (ASCII or UC16). | 281 // Which mode to generate code for (ASCII or UC16). |
| 280 Mode mode_; | 282 Mode mode_; |
| 281 | 283 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 294 Label exit_label_; | 296 Label exit_label_; |
| 295 Label check_preempt_label_; | 297 Label check_preempt_label_; |
| 296 Label stack_overflow_label_; | 298 Label stack_overflow_label_; |
| 297 }; | 299 }; |
| 298 | 300 |
| 299 #endif // V8_INTERPRETED_REGEXP | 301 #endif // V8_INTERPRETED_REGEXP |
| 300 | 302 |
| 301 }} // namespace v8::internal | 303 }} // namespace v8::internal |
| 302 | 304 |
| 303 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 305 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |