diff options
author | Peter Wu <lekensteyn@gmail.com> | 2011-12-02 12:30:39 +0000 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2011-12-02 12:30:39 +0000 |
commit | f1eece6b17e37a8db60c4ddcb49dd93ce1422f10 (patch) | |
tree | f3a87a0bcb3aead31d5ed3d998f64b1cd3c8513f /pp2cc.py | |
parent | 8f71ab7cfe0a2dca5a55cb835dbb8ac18d775daa (diff) | |
download | pp2cc-f1eece6b17e37a8db60c4ddcb49dd93ce1422f10.tar.gz |
Fix array initializer
Diffstat (limited to 'pp2cc.py')
-rwxr-xr-x | pp2cc.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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)) |