Skip to content

Better handling of CGlobal & :call unnesting#456

Merged
timholy merged 3 commits intomasterfrom
teh/fix_455
Dec 17, 2020
Merged

Better handling of CGlobal & :call unnesting#456
timholy merged 3 commits intomasterfrom
teh/fix_455

Conversation

@timholy
Copy link
Copy Markdown
Member

@timholy timholy commented Dec 16, 2020

This supports SSAValue args for cglobal while also fixing a bug
in which a GotoIfNot ended up going to the wrong statement.
The latter was a consequence of incorrect :call unnesting.

Fixes #455
Fixes #454
Fixes #415
Fixes JuliaDebug/Debugger.jl#275
Improves #354

This supports SSAValue args for cglobal while also fixing a bug
in which a GotoIfNot ended up going to the wrong statement.
The latter was a consequence of incorrect :call unnesting.

Fixes #455
Fixes #454
Fixes #415
Fixes JuliaDebug/Debugger.jl#275
Improves #354
@timholy
Copy link
Copy Markdown
Member Author

timholy commented Dec 16, 2020

CI shows what a big improvement this is! 😆

Any ideas about special steps needed to get PyCall to install correctly? EDIT: looks fixed, mimicked https://github.com/JuliaPy/PyCall.jl/blob/bbe4efc9aca2f80eb500a2cb99d5a469ab6886e4/.github/workflows/conda.yml#L27-L28.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 16, 2020

Codecov Report

Merging #456 (2c532c9) into master (15d6945) will decrease coverage by 0.31%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #456      +/-   ##
==========================================
- Coverage   86.26%   85.95%   -0.32%     
==========================================
  Files          12       12              
  Lines        2170     2179       +9     
==========================================
+ Hits         1872     1873       +1     
- Misses        298      306       +8     
Impacted Files Coverage Δ
src/optimize.jl 82.33% <75.00%> (-2.78%) ⬇️
src/builtins.jl 76.92% <100.00%> (+0.65%) ⬆️
src/precompile.jl 97.77% <0.00%> (-2.23%) ⬇️
src/interpret.jl 87.30% <0.00%> (+0.25%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15d6945...2c532c9. Read the comment docs.

Copy link
Copy Markdown
Member

@aviatesk aviatesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@timholy timholy merged commit a7a65c2 into master Dec 17, 2020
@timholy timholy deleted the teh/fix_455 branch December 17, 2020 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants