diff options
| author | Kyle Gunger <kgunger12@gmail.com> | 2024-02-05 03:18:28 -0500 |
|---|---|---|
| committer | Kyle Gunger <kgunger12@gmail.com> | 2024-02-05 03:18:28 -0500 |
| commit | c6be3482d5a480f2fe52876435ac096518de627c (patch) | |
| tree | 2f2c56a13490bcbaeff48bc12a85849883de9fa1 | |
| parent | 7c64064fcc7e1801667df7c04c31eb6e9a92f9da (diff) | |
fix sizing bug
| -rw-r--r-- | compiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -962,7 +962,7 @@ void _var_op_set_ptr(CompData *out, Variable *store, Variable *from) { } } - switch (_var_pure_size(from)) { + switch (_var_size(from)) { case 1: vect_push_string(&out->text, "\tmovzx rsi, byte [rsi]\n"); break; |