projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged revisions 8245-8298 via svnmerge from
[cacao.git]
/
src
/
vm
/
jit
/
powerpc64
/
patcher.c
diff --git
a/src/vm/jit/powerpc64/patcher.c
b/src/vm/jit/powerpc64/patcher.c
index dce048b35ecb01f911b233ce35151a49a43bee92..aecd6bb81ccbf0eaf65b3073ae0506cb089bda05 100644
(file)
--- a/
src/vm/jit/powerpc64/patcher.c
+++ b/
src/vm/jit/powerpc64/patcher.c
@@
-22,7
+22,7
@@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: patcher.c
7909 2007-05-15 10:32:16Z tbfg
$
+ $Id: patcher.c
8268 2007-08-07 13:24:43Z twisti
$
*/
*/
@@
-30,6
+30,7
@@
#include "config.h"
#include <assert.h>
#include "config.h"
#include <assert.h>
+#include <stdint.h>
#include "vm/types.h"
#include "vm/types.h"
@@
-174,7
+175,7
@@
bool patcher_get_putstatic(u1 *sp)
/* patch the field value's address */
/* patch the field value's address */
- *((
ptrint *) (pv + disp)) = (ptrint) &(fi->value)
;
+ *((
intptr_t *) (pv + disp)) = (intptr_t) fi->value
;
/* synchronize data cache */
/* synchronize data cache */