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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 // Save length in callee-save register for use on return. | 355 // Save length in callee-save register for use on return. |
356 __ mov(s3, a1); | 356 __ mov(s3, a1); |
357 // Address of current input position. | 357 // Address of current input position. |
358 __ Daddu(a1, current_input_offset(), Operand(end_of_input_address())); | 358 __ Daddu(a1, current_input_offset(), Operand(end_of_input_address())); |
359 if (read_backward) { | 359 if (read_backward) { |
360 __ Dsubu(a1, a1, Operand(s3)); | 360 __ Dsubu(a1, a1, Operand(s3)); |
361 } | 361 } |
362 // Isolate. | 362 // Isolate. |
363 #ifdef V8_I18N_SUPPORT | 363 #ifdef V8_I18N_SUPPORT |
364 if (unicode) { | 364 if (unicode) { |
365 __ li(a3, Operand(zero_reg)); | 365 __ mov(a3, zero_reg); |
366 } else // NOLINT | 366 } else // NOLINT |
367 #endif // V8_I18N_SUPPORT | 367 #endif // V8_I18N_SUPPORT |
368 { | 368 { |
369 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); | 369 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); |
370 } | 370 } |
371 | 371 |
372 { | 372 { |
373 AllowExternalCallThatCantCauseGC scope(masm_); | 373 AllowExternalCallThatCantCauseGC scope(masm_); |
374 ExternalReference function = | 374 ExternalReference function = |
375 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); | 375 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 } | 1327 } |
1328 | 1328 |
1329 #undef __ | 1329 #undef __ |
1330 | 1330 |
1331 #endif // V8_INTERPRETED_REGEXP | 1331 #endif // V8_INTERPRETED_REGEXP |
1332 | 1332 |
1333 } // namespace internal | 1333 } // namespace internal |
1334 } // namespace v8 | 1334 } // namespace v8 |
1335 | 1335 |
1336 #endif // V8_TARGET_ARCH_MIPS64 | 1336 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |