Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: src/regexp/mips/regexp-macro-assembler-mips.cc

Issue 1639263002: MIPS: Fix '[regexp] implement case-insensitive unicode regexps.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/regexp/mips64/regexp-macro-assembler-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/regexp/mips64/regexp-macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698