Commit db33acf
authored
[cppia] Fix *= with boxed numbers in jit (#1259)
* [cppia] Fix *= with boxed numbers in jit
In genSetter, if ioValue is a boxed int/float, then we cannot pass it
directly into compiler->mult. We need to perform a conversion into a
float.
This is now closer to how aoSub is handled.
* [tests] Add regression test for cppia jit *= bug1 parent c284a29 commit db33acf
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3667 | 3667 | | |
3668 | 3668 | | |
3669 | 3669 | | |
3670 | | - | |
3671 | | - | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
3672 | 3674 | | |
3673 | 3675 | | |
3674 | 3676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
192 | 200 | | |
193 | 201 | | |
194 | 202 | | |
| |||
0 commit comments