Changeset 35310 in webkit for trunk/JavaScriptCore/VM/Opcode.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/Opcode.cpp

    r35309 r35310  
    138138#endif
    139139
     140#if SAMPLING_TOOL_ENABLED
    140141
    141142void ScopeSampleRecord::sample(CodeBlock* codeBlock, Instruction* vPC)
     
    203204    pthread_join(m_samplingThread, 0);
    204205}
    205 
    206 #if SAMPLING_TOOL_ENABLED
    207206
    208207struct OpcodeSampleInfo
     
    347346}
    348347
    349 #else
    350 
    351 void SamplingTool::dump(ExecState*)
    352 {
    353 }
    354 
    355348#endif
    356349
Note: See TracChangeset for help on using the changeset viewer.