Lines 96-102
Link Here
|
96 |
int pc = codeStream.position; |
96 |
int pc = codeStream.position; |
97 |
if ((this.bits & IsAssignmentWithNoEffectMASK) != 0) { |
97 |
if ((this.bits & IsAssignmentWithNoEffectMASK) != 0) { |
98 |
if (valueRequired) { |
98 |
if (valueRequired) { |
99 |
this.expression.generateCode(currentScope, codeStream, true); |
99 |
if (this.expression instanceof PostfixExpression) { |
|
|
100 |
((Reference) lhs).generateAssignment(currentScope, codeStream, this, true); |
101 |
} else { |
102 |
this.expression.generateCode(currentScope, codeStream, true); |
103 |
} |
100 |
} |
104 |
} |
101 |
} else { |
105 |
} else { |
102 |
((Reference) lhs).generateAssignment(currentScope, codeStream, this, valueRequired); |
106 |
((Reference) lhs).generateAssignment(currentScope, codeStream, this, valueRequired); |