projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b63d67a
)
* src/vm/jit/powerpc/darwin/md-abi.c (md_return_alloc): Use jd->isleafmethod.
author
twisti
<none@none>
Wed, 12 Jul 2006 20:27:55 +0000
(20:27 +0000)
committer
twisti
<none@none>
Wed, 12 Jul 2006 20:27:55 +0000
(20:27 +0000)
src/vm/jit/powerpc/darwin/md-abi.c
patch
|
blob
|
history
diff --git
a/src/vm/jit/powerpc/darwin/md-abi.c
b/src/vm/jit/powerpc/darwin/md-abi.c
index 8cead88c4077b2e0c1845ae43e9d8624f04362fe..c139e94845d98a3149479bfd9421345f1cf984de 100644
(file)
--- a/
src/vm/jit/powerpc/darwin/md-abi.c
+++ b/
src/vm/jit/powerpc/darwin/md-abi.c
@@
-28,7
+28,7
@@
Changes: Christian Ullrich
Changes: Christian Ullrich
- $Id: md-abi.c 511
5 2006-07-12 14:55:04
Z twisti $
+ $Id: md-abi.c 511
8 2006-07-12 20:27:55
Z twisti $
*/
*/
@@
-229,23
+229,21
@@
void md_param_alloc(methoddesc *md)
void md_return_alloc(jitdata *jd, stackptr stackslot)
{
methodinfo *m;
void md_return_alloc(jitdata *jd, stackptr stackslot)
{
methodinfo *m;
- codeinfo *code;
registerdata *rd;
methoddesc *md;
/* get required compiler data */
registerdata *rd;
methoddesc *md;
/* get required compiler data */
- m = jd->m;
- code = jd->code;
- rd = jd->rd;
+ m = jd->m;
+ rd = jd->rd;
- md
= m->parseddesc;
+ md = m->parseddesc;
/* In Leafmethods Local Vars holding parameters are precolored to
their argument register -> so leafmethods with paramcount > 0
could already use R3 == a00! */
/* In Leafmethods Local Vars holding parameters are precolored to
their argument register -> so leafmethods with paramcount > 0
could already use R3 == a00! */
- if (!
code
->isleafmethod || (md->paramcount == 0)) {
+ if (!
jd
->isleafmethod || (md->paramcount == 0)) {
/* Only precolor the stackslot, if it is not a SAVEDVAR <->
has not to survive method invokations. */
/* Only precolor the stackslot, if it is not a SAVEDVAR <->
has not to survive method invokations. */