Changeset 59065 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
May 9, 2010, 7:17:55 PM (15 years ago)
Author:
[email protected]
Message:

Fix accidental repeat addition of emit_op_new_regexp

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r59064 r59065  
    1 2010-05-09  Geoffrey Garen  <[email protected]>
    2 
    3         Reviewed by Oliver Hunt.
    4 
    5         Reserve a large-ish initial capacity for Lexer::m_buffer16.
    6        
    7         SunSpider says 0.3% faster.
    8        
    9         m_buffer16 is used when parsing complex strings -- for example, strings
    10         with escape sequences in them. These kinds of strings can be really long,
    11         and we want to avoid repeatedly copying as we grow m_buffer16.
    12        
    13         The net memory cost is quite low, since it's proporitional to source
    14         code we already have in memory, and we throw away m_buffer16 right when
    15         we're done parsing.
    16 
    17         * parser/Lexer.cpp:
    18         (JSC::Lexer::Lexer): No need to reserve initial capacity in our constructor,
    19         since setCode will be called before we're asked to lex anything.
    20         (JSC::Lexer::setCode): Reserve enough space to lex half the source code
    21         as a complex string without having to copy.
    22         (JSC::Lexer::clear): No need to reserve initial capacity here either,
    23         since setCode will be called before we're asked to lex anything.
    24 
    25 2010-05-09  Laszlo Gombos  <[email protected]>
    26 
    27         Reviewed by Eric Seidel.
    28 
    29         [Qt] Remove YARR configuration rules from Qt make system
    30         https://bugs.webkit.org/show_bug.cgi?id=38819
    31 
    32         Setting YARR based on JIT seeting is now in Platform.h
    33         for all ports. This patch essentially reverses r49238.
    34 
    35         * JavaScriptCore.pri:
     12010-05-09  Oliver Hunt  <[email protected]>
     2
     3        Build fix.
     4
     5        Fix accidental repeat addition of emit_op_new_regexp
     6
     7        * jit/JITOpcodes.cpp:
    368
    3792010-05-09  Oliver Hunt  <[email protected]>
     
    7143        * jit/JITStubs.h:
    7244        (JSC::):
     45
     462010-05-09  Geoffrey Garen  <[email protected]>
     47
     48        Reviewed by Oliver Hunt.
     49
     50        Reserve a large-ish initial capacity for Lexer::m_buffer16.
     51       
     52        SunSpider says 0.3% faster.
     53       
     54        m_buffer16 is used when parsing complex strings -- for example, strings
     55        with escape sequences in them. These kinds of strings can be really long,
     56        and we want to avoid repeatedly copying as we grow m_buffer16.
     57       
     58        The net memory cost is quite low, since it's proporitional to source
     59        code we already have in memory, and we throw away m_buffer16 right when
     60        we're done parsing.
     61
     62        * parser/Lexer.cpp:
     63        (JSC::Lexer::Lexer): No need to reserve initial capacity in our constructor,
     64        since setCode will be called before we're asked to lex anything.
     65        (JSC::Lexer::setCode): Reserve enough space to lex half the source code
     66        as a complex string without having to copy.
     67        (JSC::Lexer::clear): No need to reserve initial capacity here either,
     68        since setCode will be called before we're asked to lex anything.
     69
     702010-05-09  Laszlo Gombos  <[email protected]>
     71
     72        Reviewed by Eric Seidel.
     73
     74        [Qt] Remove YARR configuration rules from Qt make system
     75        https://bugs.webkit.org/show_bug.cgi?id=38819
     76
     77        Setting YARR based on JIT seeting is now in Platform.h
     78        for all ports. This patch essentially reverses r49238.
     79
     80        * JavaScriptCore.pri:
    7381
    74822010-05-09  Oliver Hunt  <[email protected]>
  • trunk/JavaScriptCore/jit/JITOpcodes.cpp

    r59064 r59065  
    964964}
    965965
    966 void JIT::emit_op_new_regexp(Instruction* currentInstruction)
    967 {
    968     JITStubCall stubCall(this, cti_op_new_regexp);
    969     stubCall.addArgument(ImmPtr(m_codeBlock->regexp(currentInstruction[2].u.operand)));
    970     stubCall.call(currentInstruction[1].u.operand);
    971 }
    972 
    973966void JIT::emit_op_bitor(Instruction* currentInstruction)
    974967{
Note: See TracChangeset for help on using the changeset viewer.