Ignore:
Timestamp:
Aug 9, 2008, 4:00:38 AM (17 years ago)
Author:
[email protected]
Message:

2008-08-09 Cameron Zwarich <[email protected]>

Reviewed by Oliver.

Revision 35651, despite being a rather trivial change, introduced a
large regression on the regexp-dna SunSpider test. This regression
stemmed from an increase in the size of CodeBlock::dump(). There is
no reason for this method (and several related methods) to be compiled
in non-debug builds with the sampling tool disabled. This patch
conditionally compiles them, reversing the regression on SunSpider.

  • JavaScriptCore.exp:
  • VM/CodeBlock.cpp:
  • VM/CodeBlock.h:
  • VM/Machine.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/CodeBlock.cpp

    r35651 r35652  
    3838namespace KJS {
    3939
     40#if !defined(NDEBUG) || ENABLE_SAMPLING_TOOL
     41
    4042static UString escapeQuotes(const UString& str)
    4143{
     
    703705}
    704706
     707#endif // !defined(NDEBUG) || ENABLE_SAMPLING_TOOL
     708
    705709void CodeBlock::mark()
    706710{
Note: See TracChangeset for help on using the changeset viewer.