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

Side by Side Diff: src/arm64/regexp-macro-assembler-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 // Returns the harware register (x0-x7) holding the value of the capture 259 // Returns the harware register (x0-x7) holding the value of the capture
260 // register. 260 // register.
261 // This assumes that the state of the register is not STACKED. 261 // This assumes that the state of the register is not STACKED.
262 inline Register GetCachedRegister(int register_index); 262 inline Register GetCachedRegister(int register_index);
263 263
264 Isolate* isolate() const { return masm_->isolate(); } 264 Isolate* isolate() const { return masm_->isolate(); }
265 265
266 MacroAssembler* masm_; 266 MacroAssembler* masm_;
267 267
268 // Which mode to generate code for (ASCII or UC16). 268 // Which mode to generate code for (LATIN1 or UC16).
269 Mode mode_; 269 Mode mode_;
270 270
271 // One greater than maximal register index actually used. 271 // One greater than maximal register index actually used.
272 int num_registers_; 272 int num_registers_;
273 273
274 // Number of registers to output at the end (the saved registers 274 // Number of registers to output at the end (the saved registers
275 // are always 0..num_saved_registers_-1) 275 // are always 0..num_saved_registers_-1)
276 int num_saved_registers_; 276 int num_saved_registers_;
277 277
278 // Labels used internally. 278 // Labels used internally.
279 Label entry_label_; 279 Label entry_label_;
280 Label start_label_; 280 Label start_label_;
281 Label success_label_; 281 Label success_label_;
282 Label backtrack_label_; 282 Label backtrack_label_;
283 Label exit_label_; 283 Label exit_label_;
284 Label check_preempt_label_; 284 Label check_preempt_label_;
285 Label stack_overflow_label_; 285 Label stack_overflow_label_;
286 }; 286 };
287 287
288 #endif // V8_INTERPRETED_REGEXP 288 #endif // V8_INTERPRETED_REGEXP
289 289
290 290
291 }} // namespace v8::internal 291 }} // namespace v8::internal
292 292
293 #endif // V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_ 293 #endif // V8_ARM64_REGEXP_MACRO_ASSEMBLER_ARM64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698