OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |