Changeset 39371 in webkit for trunk/JavaScriptCore/wrec/WRECGenerator.cpp
- Timestamp:
- Dec 17, 2008, 11:02:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wrec/WRECGenerator.cpp
r39250 r39371 146 146 147 147 load32(Address(output, (2 * subpatternId) * sizeof(int)), character); 148 Jump skipIfEmpty = je32( character, Address(output, ((2 * subpatternId) + 1) * sizeof(int)));148 Jump skipIfEmpty = je32(Address(output, ((2 * subpatternId) + 1) * sizeof(int)), character); 149 149 150 150 ASSERT(quantifierType == Quantifier::Greedy || quantifierType == Quantifier::NonGreedy); … … 626 626 627 627 // check if we're at the end of backref (if we are, success!) 628 Jump endOfBackRef = je32( repeatCount, Address(output, ((2 * subpatternId) + 1) * sizeof(int)));629 628 Jump endOfBackRef = je32(Address(output, ((2 * subpatternId) + 1) * sizeof(int)), repeatCount); 629 630 630 load16(BaseIndex(input, repeatCount, MacroAssembler::TimesTwo), character); 631 631 632 632 // check if we've run out of input (this would be a can o'fail) 633 633 Jump endOfInput = je32(length, index); 634 634 635 635 je16(character, BaseIndex(input, index, TimesTwo), topOfLoop); 636 636 637 637 endOfInput.link(this); 638 638 … … 641 641 pop(index); 642 642 failures.append(jump()); 643 643 644 644 // Success 645 645 endOfBackRef.link(this);
Note:
See TracChangeset
for help on using the changeset viewer.