Ignore:
Timestamp:
Jun 17, 2006, 11:25:06 PM (19 years ago)
Author:
mjs
Message:

Reviewed by Maciej

http://bugzilla.opendarwin.org/show_bug.cgi?id=9491
Windows build breaks in interpreter.cpp

  • kjs/interpreter.cpp (KJS::TimeoutChecker::pauseTimeoutCheck): (KJS::TimeoutChecker::resumeTimeoutCheck): Make sure to only assert equality with s_executingInterpreter when it is being used (i.e. when HAVE(SYS_TIME_H) == true)
File:
1 edited

Legend:

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

    r14893 r14902  
    143143void TimeoutChecker::pauseTimeoutCheck(Interpreter* interpreter)
    144144{
     145#if HAVE(SYS_TIME_H)
    145146    ASSERT(interpreter == s_executingInterpreter);
    146147
    147 #if HAVE(SYS_TIME_H)
    148148    void (*currentSignalHandler)(int);
    149149   
     
    164164void TimeoutChecker::resumeTimeoutCheck(Interpreter* interpreter)
    165165{
     166#if HAVE(SYS_TIME_H)
    166167    ASSERT(interpreter == s_executingInterpreter);
     168#endif
    167169
    168170    interpreter->m_pauseTimeoutCheckCount--;
Note: See TracChangeset for help on using the changeset viewer.