Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
there is no windows on travis anyway
[simgrid.git] / tools / stack-cleaner / clean-stack-filter
index a7c87fe..a2f91aa 100755 (executable)
@@ -24,11 +24,11 @@ sub emit_code {
 
     if($size != 0) {
       # This is a crude hack to disable the stack cleaning on the main
-      # stack.  It rellies on the fact that the main stack is high in
-      # the address space and the other stacks are in the hap (lower).
-      print("\tmovq \$0x7ffff7ff8000, %r11\n");
+      # stack.  It relies on the fact that the main stack is high in
+      # the address space and the other stacks are in the heap (lower).
+      print("\tmovq \$0x7fff00000000, %r11\n");
       print("\tcmpq %r11, %rsp\n");
-      print("\tjbe .Lstack_cleaner_done$id\n");
+      print("\tjae .Lstack_cleaner_done$id\n");
 
       # Loop over the stack frame quadwords and zero it:
       print("\tmovabsq \$$qsize, %r11\n");