Ignore:
Timestamp:
Sep 26, 2009, 5:47:01 AM (16 years ago)
Author:
Simon Hausmann
Message:

Add MarkStackSymbian.cpp to build JavascriptCore for Symbian.

Patch by Yongjun Zhang <[email protected]> on 2009-09-26
Reviewed by Simon Hausmann.

Re-use Windows shrinkAllocation implementation because Symbian doesn't
support releasing part of memory region.

Use fastMalloc and fastFree to implement allocateStack and releaseStack
for Symbian port.

(JSC::MarkStack::MarkStackArray::shrinkAllocation):

  • runtime/MarkStackSymbian.cpp: Added.

(JSC::MarkStack::initializePagesize):
(JSC::MarkStack::allocateStack):
(JSC::MarkStack::releaseStack):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/MarkStack.h

    r48068 r48788  
    154154                if (size == m_allocated)
    155155                    return;
    156 #if PLATFORM(WIN)
     156#if PLATFORM(WIN) || PLATFORM(SYMBIAN)
    157157                // We cannot release a part of a region with VirtualFree.  To get around this,
    158158                // we'll release the entire region and reallocate the size that we want.
Note: See TracChangeset for help on using the changeset viewer.