Changeset 46910 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Aug 7, 2009, 1:15:37 PM (16 years ago)
Author:
[email protected]
Message:

2009-08-07 Yongjun Zhang <[email protected]>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=28069

Add inline to help winscw compiler resolve specialized argument in
templated functions.

  • runtime/LiteralParser.cpp: (JSC::LiteralParser::Lexer::lexString):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r46907 r46910  
     12009-08-07  Yongjun Zhang  <[email protected]>
     2
     3        Reviewed by Eric Seidel.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=28069
     6
     7        Add inline to help winscw compiler resolve specialized argument in
     8        templated functions. 
     9
     10        * runtime/LiteralParser.cpp:
     11        (JSC::LiteralParser::Lexer::lexString):
     12
    1132009-08-07  Zoltan Horvath  <[email protected]>
    214
  • trunk/JavaScriptCore/runtime/LiteralParser.cpp

    r45356 r46910  
    130130}
    131131
    132 template <LiteralParser::ParserMode mode> LiteralParser::TokenType LiteralParser::Lexer::lexString(LiteralParserToken& token)
     132// "inline" is required here to help WINSCW compiler resolve specialized argument in templated functions.
     133template <LiteralParser::ParserMode mode> inline LiteralParser::TokenType LiteralParser::Lexer::lexString(LiteralParserToken& token)
    133134{
    134135    ++m_ptr;
Note: See TracChangeset for help on using the changeset viewer.