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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
265 inline void Push(Label* label); | 265 inline void Push(Label* label); |
266 | 266 |
267 // Pops a value from the backtrack stack. Reads the word at the stack pointer | 267 // Pops a value from the backtrack stack. Reads the word at the stack pointer |
268 // (rcx) and increments it by a word size. | 268 // (rcx) and increments it by a word size. |
269 inline void Pop(Register target); | 269 inline void Pop(Register target); |
270 | 270 |
271 // Drops the top value from the backtrack stack without reading it. | 271 // Drops the top value from the backtrack stack without reading it. |
272 // Increments the stack pointer (rcx) by a word size. | 272 // Increments the stack pointer (rcx) by a word size. |
273 inline void Drop(); | 273 inline void Drop(); |
274 | 274 |
275 inline Isolate* isolate() const { return masm_.isolate(); } | |
Sven Panne
2013/04/24 06:29:46
Remove "inline".
| |
276 | |
275 MacroAssembler masm_; | 277 MacroAssembler masm_; |
276 MacroAssembler::NoRootArrayScope no_root_array_scope_; | 278 MacroAssembler::NoRootArrayScope no_root_array_scope_; |
277 | 279 |
278 ZoneList<int> code_relative_fixup_positions_; | 280 ZoneList<int> code_relative_fixup_positions_; |
279 | 281 |
280 // Which mode to generate code for (ASCII or UC16). | 282 // Which mode to generate code for (ASCII or UC16). |
281 Mode mode_; | 283 Mode mode_; |
282 | 284 |
283 // One greater than maximal register index actually used. | 285 // One greater than maximal register index actually used. |
284 int num_registers_; | 286 int num_registers_; |
(...skipping 10 matching lines...) Expand all Loading... | |
295 Label exit_label_; | 297 Label exit_label_; |
296 Label check_preempt_label_; | 298 Label check_preempt_label_; |
297 Label stack_overflow_label_; | 299 Label stack_overflow_label_; |
298 }; | 300 }; |
299 | 301 |
300 #endif // V8_INTERPRETED_REGEXP | 302 #endif // V8_INTERPRETED_REGEXP |
301 | 303 |
302 }} // namespace v8::internal | 304 }} // namespace v8::internal |
303 | 305 |
304 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ | 306 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |