Changeset 43343 in webkit for trunk/JavaScriptCore/runtime/Collector.cpp
- Timestamp:
- May 7, 2009, 6:59:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Collector.cpp
r43122 r43343 429 429 pthread_stackseg_np(thread, &stack); 430 430 return stack.ss_sp; 431 #elif PLATFORM(SYMBIAN) 432 static void* stackBase = 0; 433 if (stackBase == 0) { 434 TThreadStackInfo info; 435 RThread thread; 436 thread.StackInfo(info); 437 stackBase = (void*)info.iBase; 438 } 439 return (void*)stackBase; 431 440 #elif PLATFORM(UNIX) 432 441 static void* stackBase = 0; … … 451 460 } 452 461 return static_cast<char*>(stackBase) + stackSize; 453 #elif PLATFORM(SYMBIAN)454 static void* stackBase = 0;455 if (stackBase == 0) {456 TThreadStackInfo info;457 RThread thread;458 thread.StackInfo(info);459 stackBase = (void*)info.iBase;460 }461 return (void*)stackBase;462 462 #else 463 463 #error Need a way to get the stack base on this platform
Note:
See TracChangeset
for help on using the changeset viewer.