Changeset 14902 in webkit for trunk/JavaScriptCore


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)
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r14900 r14902  
     12006-06-16  Ben Goodger <[email protected]>
     2       
     3        Reviewed by Maciej
     4
     5        http://bugzilla.opendarwin.org/show_bug.cgi?id=9491
     6        Windows build breaks in interpreter.cpp
     7
     8        * kjs/interpreter.cpp
     9        (KJS::TimeoutChecker::pauseTimeoutCheck):
     10        (KJS::TimeoutChecker::resumeTimeoutCheck):
     11        Make sure to only assert equality with s_executingInterpreter when it
     12        is being used (i.e. when HAVE(SYS_TIME_H) == true)
     13
     14
    1152006-06-17  David Kilzer  <[email protected]>
    216
  • 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.