Renamed exprhs to ExprLoad

git-svn-id: svn://svn.cc65.org/cc65/trunk@2426 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-29 09:16:28 +00:00
parent e6568c9763
commit 14fc5c1073
7 changed files with 59 additions and 57 deletions

View File

@@ -87,7 +87,7 @@ int Assignment (ExprDesc* lval)
if (UseReg) {
PushAddr (lval);
} else {
exprhs (0, 0, lval);
ExprLoad (0, 0, lval);
g_push (CF_PTR | CF_UNSIGNED, 0);
}
@@ -107,7 +107,7 @@ int Assignment (ExprDesc* lval)
lval2.Type = stype;
/* Load the value into the primary */
exprhs (CF_FORCECHAR, k, &lval2);
ExprLoad (CF_FORCECHAR, k, &lval2);
/* Store it into the new location */
Store (lval, stype);
@@ -115,7 +115,7 @@ int Assignment (ExprDesc* lval)
} else {
/* We will use memcpy. Push the address of the rhs */
exprhs (0, 0, &lval2);
ExprLoad (0, 0, &lval2);
/* Push the address (or whatever is in ax in case of errors) */
g_push (CF_PTR | CF_UNSIGNED, 0);
@@ -158,7 +158,7 @@ int Assignment (ExprDesc* lval)
k = TypeConversion (&lval2, k, ltype);
/* If necessary, load the value into the primary register */
exprhs (CF_NONE, k, &lval2);
ExprLoad (CF_NONE, k, &lval2);
/* Generate a store instruction */
Store (lval, 0);