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

Side by Side Diff: src/regexp/arm64/regexp-macro-assembler-arm64.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 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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/regexp/arm64/regexp-macro-assembler-arm64.h" 7 #include "src/regexp/arm64/regexp-macro-assembler-arm64.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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 * direct call from generated code, the return address is placed there by 106 * direct call from generated code, the return address is placed there by
107 * the calling code, as in a normal exit frame. 107 * the calling code, as in a normal exit frame.
108 */ 108 */
109 109
110 #define __ ACCESS_MASM(masm_) 110 #define __ ACCESS_MASM(masm_)
111 111
112 RegExpMacroAssemblerARM64::RegExpMacroAssemblerARM64(Isolate* isolate, 112 RegExpMacroAssemblerARM64::RegExpMacroAssemblerARM64(Isolate* isolate,
113 Zone* zone, Mode mode, 113 Zone* zone, Mode mode,
114 int registers_to_save) 114 int registers_to_save)
115 : NativeRegExpMacroAssembler(isolate, zone), 115 : NativeRegExpMacroAssembler(isolate, zone),
116 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize)), 116 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize,
117 CodeObjectRequired::kYes)),
117 mode_(mode), 118 mode_(mode),
118 num_registers_(registers_to_save), 119 num_registers_(registers_to_save),
119 num_saved_registers_(registers_to_save), 120 num_saved_registers_(registers_to_save),
120 entry_label_(), 121 entry_label_(),
121 start_label_(), 122 start_label_(),
122 success_label_(), 123 success_label_(),
123 backtrack_label_(), 124 backtrack_label_(),
124 exit_label_() { 125 exit_label_() {
125 __ SetStackPointer(csp); 126 __ SetStackPointer(csp);
126 DCHECK_EQ(0, registers_to_save % 2); 127 DCHECK_EQ(0, registers_to_save % 2);
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 } 1651 }
1651 } 1652 }
1652 } 1653 }
1653 1654
1654 #endif // V8_INTERPRETED_REGEXP 1655 #endif // V8_INTERPRETED_REGEXP
1655 1656
1656 } // namespace internal 1657 } // namespace internal
1657 } // namespace v8 1658 } // namespace v8
1658 1659
1659 #endif // V8_TARGET_ARCH_ARM64 1660 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/regexp/arm/regexp-macro-assembler-arm.cc ('k') | src/regexp/ia32/regexp-macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698