Commit 91bff8c
committed
[AVR] Fix debug printing of function pointers
This commit fixes debug printing of function pointers on AVR. AVR does
not support `addrspacecast` instructions, and so this patch modifies
libcore so that a `ptrtoint` IR instruction is used and the address
space cast is avoided.1 parent 690bb8a commit 91bff8c
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
1348 | | - | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
1349 | 1354 | | |
1350 | 1355 | | |
1351 | 1356 | | |
1352 | 1357 | | |
1353 | 1358 | | |
1354 | 1359 | | |
1355 | | - | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1356 | 1366 | | |
1357 | 1367 | | |
1358 | 1368 | | |
| |||
0 commit comments