Skip to content

Commit df4bba8

Browse files
committed
Try misaligned stacks.
1 parent 86d6308 commit df4bba8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ziggy/src/compile-ops.rkt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@
399399
{:> F} ;; Dynamically pad the stack to be aligned for a call
400400
{:> F}
401401
(define pad-stack
402+
(seq)
403+
#;
402404
(seq (Mov r15 rsp)
403405
(And r15 #b1000)
404406
(Sub rsp r15)))
@@ -407,4 +409,6 @@
407409
{:> F} ;; Undo the stack alignment after a call
408410
{:> F}
409411
(define unpad-stack
412+
(seq)
413+
#;
410414
(seq (Add rsp r15)))

0 commit comments

Comments
 (0)