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

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

Issue 10066009: Remove CheckNotRegistersEqual regexp-masm function from all architectures. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/regexp-macro-assembler-mips.h ('k') | src/regexp-macro-assembler.h » ('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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 } 437 }
438 BranchOrBacktrack(on_no_match, ne, a3, Operand(t0)); 438 BranchOrBacktrack(on_no_match, ne, a3, Operand(t0));
439 __ Branch(&loop, lt, a0, Operand(a1)); 439 __ Branch(&loop, lt, a0, Operand(a1));
440 440
441 // Move current character position to position after match. 441 // Move current character position to position after match.
442 __ Subu(current_input_offset(), a2, end_of_input_address()); 442 __ Subu(current_input_offset(), a2, end_of_input_address());
443 __ bind(&fallthrough); 443 __ bind(&fallthrough);
444 } 444 }
445 445
446 446
447 void RegExpMacroAssemblerMIPS::CheckNotRegistersEqual(int reg1,
448 int reg2,
449 Label* on_not_equal) {
450 UNIMPLEMENTED_MIPS();
451 }
452
453
454 void RegExpMacroAssemblerMIPS::CheckNotCharacter(uint32_t c, 447 void RegExpMacroAssemblerMIPS::CheckNotCharacter(uint32_t c,
455 Label* on_not_equal) { 448 Label* on_not_equal) {
456 BranchOrBacktrack(on_not_equal, ne, current_character(), Operand(c)); 449 BranchOrBacktrack(on_not_equal, ne, current_character(), Operand(c));
457 } 450 }
458 451
459 452
460 void RegExpMacroAssemblerMIPS::CheckCharacterAfterAnd(uint32_t c, 453 void RegExpMacroAssemblerMIPS::CheckCharacterAfterAnd(uint32_t c,
461 uint32_t mask, 454 uint32_t mask,
462 Label* on_equal) { 455 Label* on_equal) {
463 __ And(a0, current_character(), Operand(mask)); 456 __ And(a0, current_character(), Operand(mask));
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 } 1302 }
1310 1303
1311 1304
1312 #undef __ 1305 #undef __
1313 1306
1314 #endif // V8_INTERPRETED_REGEXP 1307 #endif // V8_INTERPRETED_REGEXP
1315 1308
1316 }} // namespace v8::internal 1309 }} // namespace v8::internal
1317 1310
1318 #endif // V8_TARGET_ARCH_MIPS 1311 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/regexp-macro-assembler-mips.h ('k') | src/regexp-macro-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698