Ignore:
Timestamp:
Oct 31, 2008, 5:35:14 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-31 Cameron Zwarich <[email protected]>

Reviewed by Darin Adler.

Bug 22019: Move JSC::Interpreter::shouldPrintExceptions() to WebCore::Console
<https://bugs.webkit.org/show_bug.cgi?id=22019>

The JSC::Interpreter::shouldPrintExceptions() function is not used at
all in JavaScriptCore, so it should be moved to WebCore::Console, its
only user.

JavaScriptCore:

WebCore:

  • WebCore.base.exp:
  • page/Console.cpp: (WebCore::printToStandardOut): (WebCore::Console::shouldPrintExceptions): (WebCore::Console::setShouldPrintExceptions):
  • page/Console.h:

WebKit/mac:

  • Misc/WebCoreStatistics.mm: (+[WebCoreStatistics shouldPrintExceptions]): (+[WebCoreStatistics setShouldPrintExceptions:]):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/interpreter.cpp

    r38027 r38060  
    7676}
    7777
    78 static bool printExceptions = false;
    79 
    80 bool Interpreter::shouldPrintExceptions()
    81 {
    82     return printExceptions;
    83 }
    84 
    85 void Interpreter::setShouldPrintExceptions(bool print)
    86 {
    87     printExceptions = print;
    88 }
    89 
    9078} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.