| CSC448: Code Generation: Code Generation for Assignment Statements III [74/133] | ![]() ![]() ![]() |
Corin did not show
Cases for the right hand side expression:
ExpConstructorCall: deferred.
ExpFieldAccess: deferred.
ExpInt: easy, call new$Integer
with integer on the stack, receive pointer to the object
back in eax.
ExpIsNull: easy, test whether the expression
is zero.
ExpMethodCall: deferred.
ExpNull: easy.
ExpString: easy, call new$String
with pointer to string on the stack, receive pointer to
the object back in eax.
ExpVar: easy.
Hunt for examples in: