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