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

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

Issue 559913002: Rename ascii to one-byte where applicable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 #include "src/x64/assembler-x64-inl.h" 9 #include "src/x64/assembler-x64-inl.h"
10 #include "src/x64/assembler-x64.h" 10 #include "src/x64/assembler-x64.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 inline void ReadPositionFromRegister(Register dst, int reg); 248 inline void ReadPositionFromRegister(Register dst, int reg);
249 249
250 Isolate* isolate() const { return masm_.isolate(); } 250 Isolate* isolate() const { return masm_.isolate(); }
251 251
252 MacroAssembler masm_; 252 MacroAssembler masm_;
253 MacroAssembler::NoRootArrayScope no_root_array_scope_; 253 MacroAssembler::NoRootArrayScope no_root_array_scope_;
254 254
255 ZoneList<int> code_relative_fixup_positions_; 255 ZoneList<int> code_relative_fixup_positions_;
256 256
257 // Which mode to generate code for (ASCII or UC16). 257 // Which mode to generate code for (LATIN1 or UC16).
258 Mode mode_; 258 Mode mode_;
259 259
260 // One greater than maximal register index actually used. 260 // One greater than maximal register index actually used.
261 int num_registers_; 261 int num_registers_;
262 262
263 // Number of registers to output at the end (the saved registers 263 // Number of registers to output at the end (the saved registers
264 // are always 0..num_saved_registers_-1) 264 // are always 0..num_saved_registers_-1)
265 int num_saved_registers_; 265 int num_saved_registers_;
266 266
267 // Labels used internally. 267 // Labels used internally.
268 Label entry_label_; 268 Label entry_label_;
269 Label start_label_; 269 Label start_label_;
270 Label success_label_; 270 Label success_label_;
271 Label backtrack_label_; 271 Label backtrack_label_;
272 Label exit_label_; 272 Label exit_label_;
273 Label check_preempt_label_; 273 Label check_preempt_label_;
274 Label stack_overflow_label_; 274 Label stack_overflow_label_;
275 }; 275 };
276 276
277 #endif // V8_INTERPRETED_REGEXP 277 #endif // V8_INTERPRETED_REGEXP
278 278
279 }} // namespace v8::internal 279 }} // namespace v8::internal
280 280
281 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ 281 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698