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

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

Issue 14429003: Refactor ExternalReference::isolate_address() to not rely on Isolate::Current(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 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 | « src/x64/macro-assembler-x64.cc ('k') | 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Isolate* isolate() const { return masm_.isolate(); }
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
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_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698