Changeset 35310 in webkit for trunk/JavaScriptCore/VM/Machine.cpp


Ignore:
Timestamp:
Jul 23, 2008, 6:00:35 PM (17 years ago)
Author:
Adam Roben
Message:

Windows build fixes

Build fix after r35293:

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Add API/ to the include path.

Build fix after r35305:

  • VM/Machine.cpp:
  • VM/Machine.h:
  • VM/Opcode.cpp:
  • VM/Opcode.h: Completely compile out all sampler-related code when SAMPLING_TOOL_ENABLED is 0. The sampler code can't be compiled 1) on non-AllInOne configurations due to circular header dependencies, and 2) on platforms that don't have a usleep() function, such as Windows.
File:
1 edited

Legend:

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

    r35309 r35310  
    474474
    475475Machine::Machine()
    476     : m_sampler(0)
    477     , m_reentryDepth(0)
     476    :
     477#if SAMPLING_TOOL_ENABLED
     478      m_sampler(0),
     479#else
     480      m_reentryDepth(0)
     481#endif
    478482    , m_timeoutTime(0)
    479483    , m_timeAtLastCheckTimeout(0)
Note: See TracChangeset for help on using the changeset viewer.