Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: src/x64/regexp-macro-assembler-x64.h

Issue 220453008: Introduce ReadPositionFromRegister in x64 Regexp Macro Assembler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698