Working on the optimizations
git-svn-id: svn://svn.cc65.org/cc65/trunk@1069 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -742,16 +742,8 @@ void g_getlocal (unsigned flags, int offs)
|
||||
AddCodeLine ("dey");
|
||||
AddCodeLine ("ora (sp),y");
|
||||
} else {
|
||||
if (CodeSizeFactor > 180) {
|
||||
ldyconst (offs + 1);
|
||||
AddCodeLine ("lda (sp),y");
|
||||
AddCodeLine ("tax");
|
||||
AddCodeLine ("dey");
|
||||
AddCodeLine ("lda (sp),y");
|
||||
} else {
|
||||
ldyconst (offs+1);
|
||||
AddCodeLine ("jsr ldaxysp");
|
||||
}
|
||||
ldyconst (offs+1);
|
||||
AddCodeLine ("jsr ldaxysp");
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user