diff options
author | June McEnroe <programble@gmail.com> | 2016-10-10 00:45:02 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2016-10-10 00:45:02 -0400 |
commit | c2413e1fb19b054f1a9560b993a9e6c67f62e3f7 (patch) | |
tree | d396bed8799d4bd5057b4c2fe006b817b5029368 | |
parent | Allocate two pages of stack for jrp (diff) | |
download | src-c2413e1fb19b054f1a9560b993a9e6c67f62e3f7.tar.gz src-c2413e1fb19b054f1a9560b993a9e6c67f62e3f7.zip |
Fix jrp dop pushes
Pushing zero on a qop boundary would break because zero is the sentinal value for code.dop.
Diffstat (limited to '')
-rwxr-xr-x | .bin/jrp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.bin/jrp.c b/.bin/jrp.c index de137cf7..92c935df 100755 --- a/.bin/jrp.c +++ b/.bin/jrp.c @@ -103,8 +103,7 @@ static void jitQop(qop op) { static void jitPush(qvalue imm) { if ((dvalue)imm == imm) { - jitDop(DOP_PUSH); - jitDop((dop)imm); + jitQop(DOP_PUSH | (qop)imm << 32); } else { jitQop(QOP_PUSH); jitQop((qop)imm); |