Simplify code generation
git-svn-id: svn://svn.cc65.org/cc65/trunk@827 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1111,21 +1111,13 @@ void g_putind (unsigned Flags, unsigned Offs)
|
||||
break;
|
||||
|
||||
case CF_INT:
|
||||
if (Offs) {
|
||||
ldyconst (Offs);
|
||||
AddCodeLine ("jsr staxspidx");
|
||||
} else {
|
||||
AddCodeLine ("jsr staxspp");
|
||||
}
|
||||
ldyconst (Offs);
|
||||
AddCodeLine ("jsr staxspidx");
|
||||
break;
|
||||
|
||||
case CF_LONG:
|
||||
if (Offs) {
|
||||
ldyconst (Offs);
|
||||
AddCodeLine ("jsr steaxspidx");
|
||||
} else {
|
||||
AddCodeLine ("jsr steaxspp");
|
||||
}
|
||||
ldyconst (Offs);
|
||||
AddCodeLine ("jsr steaxspidx");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user