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

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

Issue 1476763002: Make whether or not a Code object should be created by masm explicit (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: enum class FTW Created 5 years 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
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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/regexp/x64/regexp-macro-assembler-x64.h" 7 #include "src/regexp/x64/regexp-macro-assembler-x64.h"
8 8
9 #include "src/log.h" 9 #include "src/log.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 * byte* stack_area_base, 88 * byte* stack_area_base,
89 * bool direct_call) 89 * bool direct_call)
90 */ 90 */
91 91
92 #define __ ACCESS_MASM((&masm_)) 92 #define __ ACCESS_MASM((&masm_))
93 93
94 RegExpMacroAssemblerX64::RegExpMacroAssemblerX64(Isolate* isolate, Zone* zone, 94 RegExpMacroAssemblerX64::RegExpMacroAssemblerX64(Isolate* isolate, Zone* zone,
95 Mode mode, 95 Mode mode,
96 int registers_to_save) 96 int registers_to_save)
97 : NativeRegExpMacroAssembler(isolate, zone), 97 : NativeRegExpMacroAssembler(isolate, zone),
98 masm_(isolate, NULL, kRegExpCodeSize), 98 masm_(isolate, NULL, kRegExpCodeSize, CodeObjectRequired::kYes),
99 no_root_array_scope_(&masm_), 99 no_root_array_scope_(&masm_),
100 code_relative_fixup_positions_(4, zone), 100 code_relative_fixup_positions_(4, zone),
101 mode_(mode), 101 mode_(mode),
102 num_registers_(registers_to_save), 102 num_registers_(registers_to_save),
103 num_saved_registers_(registers_to_save), 103 num_saved_registers_(registers_to_save),
104 entry_label_(), 104 entry_label_(),
105 start_label_(), 105 start_label_(),
106 success_label_(), 106 success_label_(),
107 backtrack_label_(), 107 backtrack_label_(),
108 exit_label_() { 108 exit_label_() {
(...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1383 } 1383 }
1384 1384
1385 #undef __ 1385 #undef __
1386 1386
1387 #endif // V8_INTERPRETED_REGEXP 1387 #endif // V8_INTERPRETED_REGEXP
1388 1388
1389 } // namespace internal 1389 } // namespace internal
1390 } // namespace v8 1390 } // namespace v8
1391 1391
1392 #endif // V8_TARGET_ARCH_X64 1392 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/regexp/ppc/regexp-macro-assembler-ppc.cc ('k') | src/regexp/x87/regexp-macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698