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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
6 | 6 |
7 #include "src/regexp/mips/regexp-macro-assembler-mips.h" | 7 #include "src/regexp/mips/regexp-macro-assembler-mips.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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 * direct call from generated code, the return address is placed there by | 90 * direct call from generated code, the return address is placed there by |
91 * the calling code, as in a normal exit frame. | 91 * the calling code, as in a normal exit frame. |
92 */ | 92 */ |
93 | 93 |
94 #define __ ACCESS_MASM(masm_) | 94 #define __ ACCESS_MASM(masm_) |
95 | 95 |
96 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS(Isolate* isolate, Zone* zone, | 96 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS(Isolate* isolate, Zone* zone, |
97 Mode mode, | 97 Mode mode, |
98 int registers_to_save) | 98 int registers_to_save) |
99 : NativeRegExpMacroAssembler(isolate, zone), | 99 : NativeRegExpMacroAssembler(isolate, zone), |
100 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize)), | 100 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, true)), |
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_(), |
109 internal_failure_label_() { | 109 internal_failure_label_() { |
110 DCHECK_EQ(0, registers_to_save % 2); | 110 DCHECK_EQ(0, registers_to_save % 2); |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 | 1280 |
1281 | 1281 |
1282 #undef __ | 1282 #undef __ |
1283 | 1283 |
1284 #endif // V8_INTERPRETED_REGEXP | 1284 #endif // V8_INTERPRETED_REGEXP |
1285 | 1285 |
1286 } // namespace internal | 1286 } // namespace internal |
1287 } // namespace v8 | 1287 } // namespace v8 |
1288 | 1288 |
1289 #endif // V8_TARGET_ARCH_MIPS | 1289 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |