mirror of
https://github.com/cc65/cc65.git
synced 2025-02-06 12:31:12 +00:00
Revert "Fix #2357 - Copy est.size and flags of op when moving it"
This commit is contained in:
parent
8e25a7b376
commit
2c4ebe812c
@ -120,13 +120,9 @@ unsigned OptLongAssign (CodeSeg* S)
|
|||||||
!CS_RangeHasLabel(S, I, 12)) {
|
!CS_RangeHasLabel(S, I, 12)) {
|
||||||
|
|
||||||
L[1]->AM = L[11]->AM;
|
L[1]->AM = L[11]->AM;
|
||||||
L[1]->Size = L[11]->Size;
|
|
||||||
L[1]->Flags = L[11]->Flags;
|
|
||||||
CE_SetArg(L[1], L[11]->Arg);
|
CE_SetArg(L[1], L[11]->Arg);
|
||||||
|
|
||||||
L[3]->AM = L[9]->AM;
|
L[3]->AM = L[9]->AM;
|
||||||
L[3]->Size = L[9]->Size;
|
|
||||||
L[3]->Flags = L[9]->Flags;
|
|
||||||
CE_SetArg(L[3], L[9]->Arg);
|
CE_SetArg(L[3], L[9]->Arg);
|
||||||
|
|
||||||
CS_DelEntries (S, I+8, 4);
|
CS_DelEntries (S, I+8, 4);
|
||||||
@ -215,13 +211,9 @@ unsigned OptLongCopy (CodeSeg* S)
|
|||||||
!CS_RangeHasLabel(S, I, 12)) {
|
!CS_RangeHasLabel(S, I, 12)) {
|
||||||
|
|
||||||
L[1]->AM = L[11]->AM;
|
L[1]->AM = L[11]->AM;
|
||||||
L[1]->Size = L[11]->Size;
|
|
||||||
L[1]->Flags = L[11]->Flags;
|
|
||||||
CE_SetArg(L[1], L[11]->Arg);
|
CE_SetArg(L[1], L[11]->Arg);
|
||||||
|
|
||||||
L[3]->AM = L[9]->AM;
|
L[3]->AM = L[9]->AM;
|
||||||
L[3]->Size = L[9]->Size;
|
|
||||||
L[3]->Flags = L[9]->Flags;
|
|
||||||
CE_SetArg(L[3], L[9]->Arg);
|
CE_SetArg(L[3], L[9]->Arg);
|
||||||
|
|
||||||
CS_DelEntries (S, I+8, 4);
|
CS_DelEntries (S, I+8, 4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user