projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8049c9c
)
bugfix in saving rcx for lshl
author
christian
<none@none>
Mon, 28 Mar 2005 22:12:23 +0000
(22:12 +0000)
committer
christian
<none@none>
Mon, 28 Mar 2005 22:12:23 +0000
(22:12 +0000)
src/vm/jit/x86_64/emitfuncs.c
patch
|
blob
|
history
diff --git
a/src/vm/jit/x86_64/emitfuncs.c
b/src/vm/jit/x86_64/emitfuncs.c
index 5d672c0bbd932a0fbae4be339d7c4ae78ae596b7..4afc8296edfd07f9cec7d467ba98a6a89eb9a2d9 100644
(file)
--- a/
src/vm/jit/x86_64/emitfuncs.c
+++ b/
src/vm/jit/x86_64/emitfuncs.c
@@
-26,7
+26,7
@@
Authors: Christian Thalinger
- $Id: emitfuncs.c 2
071 2005-03-24 17:56:17
Z christian $
+ $Id: emitfuncs.c 2
103 2005-03-28 22:12:23
Z christian $
*/
@@
-373,7
+373,8
@@
void x86_64_emit_lshift(codegendata *cd, s4 shift_op, stackptr src, instruction
s4 s2 = src->regoff;
s4 d = iptr->dst->regoff;
s4 d_old;
-
+
+ d_old = -1;
M_INTMOVE(RCX, REG_ITMP1); /* save RCX */
if (iptr->dst->flags & INMEMORY) {
if ((src->flags & INMEMORY) && (src->prev->flags & INMEMORY)) {