OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |