projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777a728
)
* src/vm/jit/x86_64/patcher.c (patcher_putfieldconst): Fixed.
author
Stefan Ring
<stefan@complang.tuwien.ac.at>
Wed, 18 Jun 2008 19:47:48 +0000
(21:47 +0200)
committer
Stefan Ring
<stefan@complang.tuwien.ac.at>
Wed, 18 Jun 2008 19:47:48 +0000
(21:47 +0200)
src/vm/jit/x86_64/patcher.c
patch
|
blob
|
history
diff --git
a/src/vm/jit/x86_64/patcher.c
b/src/vm/jit/x86_64/patcher.c
index 0a69cfd973b4d17e4eb6d2d2f459191b1fc7d6fa..be30afa3759f0711b57cb8b7fbf489d81480707f 100644
(file)
--- a/
src/vm/jit/x86_64/patcher.c
+++ b/
src/vm/jit/x86_64/patcher.c
@@
-325,9
+325,9
@@
bool patcher_putfieldconst(patchref_t *pr)
if (IS_2_WORD_TYPE(fi->type) || IS_ADR_TYPE(fi->type)) {
/* handle special case when the base register is %r12 */
- byte = *(ra + 2);
+ byte = *(ra +
1
2);
- if (byte == 0x
8
4) {
+ if (byte == 0x
9
4) {
*((uint32_t *) (ra + 14)) = fi->offset;
}
else {