| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // Save length in callee-save register for use on return. | 319 // Save length in callee-save register for use on return. |
| 320 __ mov(s3, a1); | 320 __ mov(s3, a1); |
| 321 // Address of current input position. | 321 // Address of current input position. |
| 322 __ Addu(a1, current_input_offset(), Operand(end_of_input_address())); | 322 __ Addu(a1, current_input_offset(), Operand(end_of_input_address())); |
| 323 if (read_backward) { | 323 if (read_backward) { |
| 324 __ Subu(a1, a1, Operand(s3)); | 324 __ Subu(a1, a1, Operand(s3)); |
| 325 } | 325 } |
| 326 // Isolate. | 326 // Isolate. |
| 327 #ifdef V8_I18N_SUPPORT | 327 #ifdef V8_I18N_SUPPORT |
| 328 if (unicode) { | 328 if (unicode) { |
| 329 __ li(a3, Operand(zero_reg)); | 329 __ mov(a3, zero_reg); |
| 330 } else // NOLINT | 330 } else // NOLINT |
| 331 #endif // V8_I18N_SUPPORT | 331 #endif // V8_I18N_SUPPORT |
| 332 { | 332 { |
| 333 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); | 333 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); |
| 334 } | 334 } |
| 335 | 335 |
| 336 { | 336 { |
| 337 AllowExternalCallThatCantCauseGC scope(masm_); | 337 AllowExternalCallThatCantCauseGC scope(masm_); |
| 338 ExternalReference function = | 338 ExternalReference function = |
| 339 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); | 339 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); |
| (...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1288 | 1288 |
| 1289 | 1289 |
| 1290 #undef __ | 1290 #undef __ |
| 1291 | 1291 |
| 1292 #endif // V8_INTERPRETED_REGEXP | 1292 #endif // V8_INTERPRETED_REGEXP |
| 1293 | 1293 |
| 1294 } // namespace internal | 1294 } // namespace internal |
| 1295 } // namespace v8 | 1295 } // namespace v8 |
| 1296 | 1296 |
| 1297 #endif // V8_TARGET_ARCH_MIPS | 1297 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |