[vmkit-commits] [vmkit] r56972 - /vmkit/branches/isolate/lib/Mvm/GCMmap2/gc.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Thu Oct 2 15:45:30 PDT 2008
Author: geoffray
Date: Thu Oct 2 17:45:30 2008
New Revision: 56972
URL: http://llvm.org/viewvc/llvm-project?rev=56972&view=rev
Log:
Use the address of the setjmp buffer as the starting pointer to
the stack. This makes us less dependent on GCC's optimizations.
Modified:
vmkit/branches/isolate/lib/Mvm/GCMmap2/gc.cpp
Modified: vmkit/branches/isolate/lib/Mvm/GCMmap2/gc.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/isolate/lib/Mvm/GCMmap2/gc.cpp?rev=56972&r1=56971&r2=56972&view=diff
==============================================================================
--- vmkit/branches/isolate/lib/Mvm/GCMmap2/gc.cpp (original)
+++ vmkit/branches/isolate/lib/Mvm/GCMmap2/gc.cpp Thu Oct 2 17:45:30 2008
@@ -234,8 +234,7 @@
if(!loc) /* a key is being destroyed */
COLLECTOR threads->another_mark();
else {
- unsigned int* top;
- register unsigned int **cur = ⊤
+ register unsigned int **cur = (unsigned int**)&buf;
register unsigned int **max = loc->base_sp();
GCChunkNode *node;
More information about the vmkit-commits
mailing list