Changeset 40214 in webkit for trunk/JavaScriptCore/parser/Lexer.h


Ignore:
Timestamp:
Jan 24, 2009, 1:55:16 AM (16 years ago)
Author:
[email protected]
Message:

Force inlining of Lexer::matchPunctuator

Reviewed by Maciej Stachowiak.

2.2% win when parsing jQuery, Mootools, Prototype, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/parser/Lexer.h

    r40131 r40214  
    105105        static bool isOctalDigit(int);
    106106
    107         int matchPunctuator(int& charPos, int c1, int c2, int c3, int c4);
     107        ALWAYS_INLINE int matchPunctuator(int& charPos, int c1, int c2, int c3, int c4);
    108108        static unsigned short singleEscape(unsigned short);
    109109        static unsigned short convertOctal(int c1, int c2, int c3);
Note: See TracChangeset for help on using the changeset viewer.