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

Side by Side Diff: src/regexp/mips64/regexp-macro-assembler-mips64.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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 #include "src/regexp/mips64/regexp-macro-assembler-mips64.h" 7 #include "src/regexp/mips64/regexp-macro-assembler-mips64.h"
8 8
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/log.h" 10 #include "src/log.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 * direct call from generated code, the return address is placed there by 126 * direct call from generated code, the return address is placed there by
127 * the calling code, as in a normal exit frame. 127 * the calling code, as in a normal exit frame.
128 */ 128 */
129 129
130 #define __ ACCESS_MASM(masm_) 130 #define __ ACCESS_MASM(masm_)
131 131
132 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS(Isolate* isolate, Zone* zone, 132 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS(Isolate* isolate, Zone* zone,
133 Mode mode, 133 Mode mode,
134 int registers_to_save) 134 int registers_to_save)
135 : NativeRegExpMacroAssembler(isolate, zone), 135 : NativeRegExpMacroAssembler(isolate, zone),
136 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize)), 136 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize,
137 CodeObjectRequired::kYes)),
137 mode_(mode), 138 mode_(mode),
138 num_registers_(registers_to_save), 139 num_registers_(registers_to_save),
139 num_saved_registers_(registers_to_save), 140 num_saved_registers_(registers_to_save),
140 entry_label_(), 141 entry_label_(),
141 start_label_(), 142 start_label_(),
142 success_label_(), 143 success_label_(),
143 backtrack_label_(), 144 backtrack_label_(),
144 exit_label_(), 145 exit_label_(),
145 internal_failure_label_() { 146 internal_failure_label_() {
146 DCHECK_EQ(0, registers_to_save % 2); 147 DCHECK_EQ(0, registers_to_save % 2);
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 } 1320 }
1320 1321
1321 #undef __ 1322 #undef __
1322 1323
1323 #endif // V8_INTERPRETED_REGEXP 1324 #endif // V8_INTERPRETED_REGEXP
1324 1325
1325 } // namespace internal 1326 } // namespace internal
1326 } // namespace v8 1327 } // namespace v8
1327 1328
1328 #endif // V8_TARGET_ARCH_MIPS64 1329 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/regexp/mips/regexp-macro-assembler-mips.cc ('k') | src/regexp/ppc/regexp-macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698