Ignore:
Timestamp:
Nov 6, 2008, 9:48:13 AM (17 years ago)
Author:
Simon Hausmann
Message:

2008-11-06 Norbert Leser <[email protected]>

Reviewed by Simon Hausmann.

Implemented currentThreadStackBase for Symbian.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Collector.cpp

    r38137 r38175  
    447447    }
    448448    return static_cast<char*>(stackBase) + stackSize;
     449#elif PLATFORM(SYMBIAN)
     450    static void* stackBase = 0;
     451    if (stackBase == 0) {
     452        TThreadStackInfo info;
     453        RThread thread;
     454        thread.StackInfo(info);
     455        stackBase = (void*)info.iBase;
     456    }
     457    //fixme
     458    return (void*)stackBase;
    449459#else
    450460#error Need a way to get the stack base on this platform
Note: See TracChangeset for help on using the changeset viewer.