Changeset 37664 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Oct 17, 2008, 3:26:44 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-17 Maciej Stachowiak <[email protected]>

Reviewed by Cameron Zwarich


  • don't bother to do arguments tearoff when it will have no effect

~1% on v8 raytrace


  • VM/CodeGenerator.cpp: (JSC::CodeGenerator::emitReturn):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r37660 r37664  
     12008-10-17  Maciej Stachowiak  <[email protected]>
     2
     3        Reviewed by Cameron Zwarich
     4       
     5        - don't bother to do arguments tearoff when it will have no effect
     6
     7        ~1% on v8 raytrace
     8       
     9        * VM/CodeGenerator.cpp:
     10        (JSC::CodeGenerator::emitReturn):
     11
    1122008-10-17  Marco Barisione  <[email protected]>
    213
  • trunk/JavaScriptCore/VM/CodeGenerator.cpp

    r37433 r37664  
    11691169        emitOpcode(op_tear_off_activation);
    11701170        instructions().append(m_activationRegisterIndex);
    1171     } else if (m_codeBlock->usesArguments)
     1171    } else if (m_codeBlock->usesArguments && m_codeBlock->numParameters > 1)
    11721172        emitOpcode(op_tear_off_arguments);
    11731173
Note: See TracChangeset for help on using the changeset viewer.