Changeset 35310 in webkit for trunk/JavaScriptCore/VM/Opcode.h


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.h

    r35309 r35310  
    154154    struct Instruction;
    155155
     156#if SAMPLING_TOOL_ENABLED
     157
    156158    struct ScopeSampleRecord
    157159    {
     
    242244        ScopeSampleRecordMap* m_scopeSampleMap;
    243245    };
     246
     247#endif
    244248
    245249// SCOPENODE_ / MACHINE_ macros for use from within member methods on ScopeNode / Machine respectively.
Note: See TracChangeset for help on using the changeset viewer.