| OLD | NEW | 
|    1 // Copyright 2010 the V8 project authors. All rights reserved. |    1 // Copyright 2010 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  244  |  244  | 
|  245   // Pops a value from the backtrack stack. Reads the word at the stack pointer |  245   // Pops a value from the backtrack stack. Reads the word at the stack pointer | 
|  246   // (rcx) and increments it by a word size. |  246   // (rcx) and increments it by a word size. | 
|  247   inline void Pop(Register target); |  247   inline void Pop(Register target); | 
|  248  |  248  | 
|  249   // Drops the top value from the backtrack stack without reading it. |  249   // Drops the top value from the backtrack stack without reading it. | 
|  250   // Increments the stack pointer (rcx) by a word size. |  250   // Increments the stack pointer (rcx) by a word size. | 
|  251   inline void Drop(); |  251   inline void Drop(); | 
|  252  |  252  | 
|  253   MacroAssembler* masm_; |  253   MacroAssembler* masm_; | 
 |  254   MacroAssembler::NoRootArrayScope no_root_array_scope_; | 
|  254  |  255  | 
|  255   ZoneList<int> code_relative_fixup_positions_; |  256   ZoneList<int> code_relative_fixup_positions_; | 
|  256  |  257  | 
|  257   // Which mode to generate code for (ASCII or UC16). |  258   // Which mode to generate code for (ASCII or UC16). | 
|  258   Mode mode_; |  259   Mode mode_; | 
|  259  |  260  | 
|  260   // One greater than maximal register index actually used. |  261   // One greater than maximal register index actually used. | 
|  261   int num_registers_; |  262   int num_registers_; | 
|  262  |  263  | 
|  263   // Number of registers to output at the end (the saved registers |  264   // Number of registers to output at the end (the saved registers | 
|  264   // are always 0..num_saved_registers_-1) |  265   // are always 0..num_saved_registers_-1) | 
|  265   int num_saved_registers_; |  266   int num_saved_registers_; | 
|  266  |  267  | 
|  267   // Labels used internally. |  268   // Labels used internally. | 
|  268   Label entry_label_; |  269   Label entry_label_; | 
|  269   Label start_label_; |  270   Label start_label_; | 
|  270   Label success_label_; |  271   Label success_label_; | 
|  271   Label backtrack_label_; |  272   Label backtrack_label_; | 
|  272   Label exit_label_; |  273   Label exit_label_; | 
|  273   Label check_preempt_label_; |  274   Label check_preempt_label_; | 
|  274   Label stack_overflow_label_; |  275   Label stack_overflow_label_; | 
|  275 }; |  276 }; | 
|  276  |  277  | 
|  277 #endif  // V8_INTERPRETED_REGEXP |  278 #endif  // V8_INTERPRETED_REGEXP | 
|  278  |  279  | 
|  279 }}  // namespace v8::internal |  280 }}  // namespace v8::internal | 
|  280  |  281  | 
|  281 #endif  // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |  282 #endif  // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 
| OLD | NEW |