Commit 1786bef
committed
Remove
I think this might have been part of a scheme to avoid an extra
indirection when this symbol is exposed to the linker. We have a similar
technique used for JIT'd modules, but I'm not sure how it's supposed
to work here between libjulia and libjulia-internal.
On Windows, this is broken for embedding currently, and on Linux this
function was just copying from the `small_typeof` in libjulia to a seem-
ingly unused copy of the symbol in libjulia-internal.
For now, this removes the special machinery and replaces it with a single
copy of the data. If we'd like to optimize this in the future, we might
want to use the existing "ijl_" vs. "jl_" patternexport_small_typeof
1 parent 80ac03b commit 1786bef
2 files changed
+0
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
2528 | 2527 | | |
2529 | 2528 | | |
2530 | 2529 | | |
2531 | | - | |
2532 | | - | |
2533 | | - | |
2534 | | - | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
2539 | | - | |
2540 | | - | |
2541 | | - | |
2542 | 2530 | | |
2543 | 2531 | | |
2544 | 2532 | | |
| |||
3360 | 3348 | | |
3361 | 3349 | | |
3362 | 3350 | | |
3363 | | - | |
3364 | 3351 | | |
3365 | 3352 | | |
3366 | 3353 | | |
| |||
3441 | 3428 | | |
3442 | 3429 | | |
3443 | 3430 | | |
3444 | | - | |
3445 | 3431 | | |
3446 | 3432 | | |
3447 | 3433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2838 | 2838 | | |
2839 | 2839 | | |
2840 | 2840 | | |
2841 | | - | |
2842 | 2841 | | |
2843 | 2842 | | |
2844 | 2843 | | |
| |||
2917 | 2916 | | |
2918 | 2917 | | |
2919 | 2918 | | |
2920 | | - | |
2921 | 2919 | | |
2922 | 2920 | | |
2923 | 2921 | | |
| |||
0 commit comments