summaryrefslogtreecommitdiff
path: root/yjit_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_core.h')
-rw-r--r--yjit_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit_core.h b/yjit_core.h
index cff46648cc..c6790e4f00 100644
--- a/yjit_core.h
+++ b/yjit_core.h
@@ -5,8 +5,8 @@
#include "yjit_asm.h"
// Register YJIT receives the CFP and EC into
-#define REG_CFP RDI
-#define REG_EC RSI
+#define REG_CFP RSI
+#define REG_EC RDI
// Register YJIT loads the SP into
#define REG_SP RDX