summaryrefslogtreecommitdiff
path: root/yjit_core.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2021-07-13 16:04:56 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commit0fdcdd267f7c3a482467f60e00049b88da1ae88c (patch)
tree20925cc78e0562d6c5564b37764ae02efd9c5fc6 /yjit_core.c
parentd0174d99c6fcbeae2d5cdaa34908b9ac117bb9c3 (diff)
fix alignment
Diffstat (limited to 'yjit_core.c')
-rw-r--r--yjit_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/yjit_core.c b/yjit_core.c
index ae771fb7c4..22527e24a6 100644
--- a/yjit_core.c
+++ b/yjit_core.c
@@ -675,7 +675,6 @@ uint8_t* get_branch_target(
push(ocb, REG_CFP);
push(ocb, REG_EC);
push(ocb, REG_SP);
- push(ocb, REG_SP);
// Call branch_stub_hit(branch_idx, target_idx, ec)
mov(ocb, C_ARG_REGS[2], REG_EC);
@@ -685,7 +684,6 @@ uint8_t* get_branch_target(
// Restore the yjit registers
pop(ocb, REG_SP);
- pop(ocb, REG_SP);
pop(ocb, REG_EC);
pop(ocb, REG_CFP);