Ignore:
Timestamp:
Sep 7, 2008, 2:09:34 AM (17 years ago)
Author:
[email protected]
Message:

2008-09-07 Cameron Zwarich <[email protected]>

Reviewed by Mark Rowe.

Attempt to fix the Windows build by using a const_cast to cast regs.Esp
to a uintptr_t instead of a reinterpret_cast.

  • kjs/collector.cpp: (KJS::otherThreadStackPointer):
File:
1 edited

Legend:

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

    r36251 r36253  
    727727// end PLATFORM(DARWIN)
    728728#elif PLATFORM(X86) && PLATFORM(WIN_OS)
    729     return reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(regs.Esp));
     729    return reinterpret_cast<void*>(const_cast<uintptr_t>(regs.Esp));
    730730#else
    731731#error Need a way to get the stack pointer for another thread on this platform
Note: See TracChangeset for help on using the changeset viewer.