summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpp2cc.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pp2cc.py b/pp2cc.py
index ad50cd4..95809e3 100755
--- a/pp2cc.py
+++ b/pp2cc.py
@@ -953,7 +953,6 @@ class Parse(object):
reg_array = "R1"
# store the address of the first array element in the pointer
init_vals.append(self.asm.binary_op("LOAD", reg_array, var_reg))
- init_vals.append(self.asm.binary_op("ADD", reg_array, var_arr))
# in this particular case, it happens that the array values are
# next to the pointer to the array
init_vals.append(self.asm.binary_op("ADD", reg_array, 1))