-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JIT: Support block statements #1841
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
e4c35fe
Experimental pil to rust compiler.
chriseth 686bdc6
Compile and dlopen.
chriseth b2f8d88
oeu
chriseth 392afc1
oeu
chriseth 6b2029a
loaded sym
chriseth 7ee9afc
log time
chriseth 44e80b8
new crate.
chriseth 65e5f44
fix
chriseth ec40700
work
chriseth 0be7ac0
work
chriseth 6aa9f45
wor
chriseth 01272e8
loading
chriseth 249f3c8
fix
chriseth 1570fb0
sqrt
chriseth 81dca2b
add benchmark
chriseth 641f1f2
forgot test file
chriseth 65c6c04
clean.
chriseth 1578b1e
fix
chriseth ffa6187
Some logging.
chriseth 51cae14
size in mb.
chriseth 22de29a
Update pil-analyzer/tests/types.rs
chriseth 2682d27
Use ibig.
chriseth e9d2910
Use native cpu.
chriseth 541d8dc
clippy
chriseth 306cbb2
Merge remote-tracking branch 'origin/main' into compi
chriseth 5aea6b2
merge fix.
chriseth 1a6db99
Remove ibig features.
chriseth 5322ccd
Merge remote-tracking branch 'origin/main' into compi
chriseth cdf3ba9
Nicer error messages.
chriseth 7b0dceb
Partial compile.
chriseth 76e6389
clippy
chriseth 00b56e6
fmt
chriseth 3544d57
Update jit-compiler/src/lib.rs
chriseth 5cf259c
Portability.
chriseth dc7e113
Merge branch 'compi' of ssh://github.com/powdr-labs/powdr into compi
chriseth e928a37
Update jit-compiler/tests/execution.rs
chriseth 86b0a2d
fix error message.
chriseth 3327e52
clippy
chriseth 2a45653
Use extern c.
chriseth 5647eb6
Use libloading.
chriseth 540671d
Update jit-compiler/src/compiler.rs
chriseth 2937860
Extract sqrt code.
chriseth 681937a
Remove drop.
chriseth 6a96b72
Add release - we need the variable.
chriseth 8db0eba
Encapsulate temp dir in struct.
chriseth b47df41
Simplify compiler state.
chriseth bdc2d38
Error message.
chriseth 8c23119
use unsafe extern C fn
chriseth 9501ef9
use mebibytes.
chriseth 1b44c1c
Match expressions.
chriseth 3cf303b
test.
chriseth 0d7df72
better match exprs
chriseth f22c2bb
comment
chriseth ed0c985
simple match test.
chriseth 01dcb4b
match expressions for tuples.
chriseth 48458fe
proper numbers
chriseth 7f88008
more pat
chriseth e48c256
more pat
chriseth 9a3242c
arrays
chriseth e79c610
docstring.
chriseth 6a8462d
trigger change request
chriseth ca0ae6f
undo change.
chriseth c0fcc59
Merge remote-tracking branch 'origin/main' into match_expr
chriseth a8b1406
fix
chriseth b24ee27
Let statements
chriseth 98c2ff6
Formatting.
chriseth c7cf68a
Merge remote-tracking branch 'origin/main' into let_statements_in_block
chriseth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a note in case we need it in the future if rust cannot determine the type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this comment. It is talking about the type of
{vars}
, I assume. But what are the non-captured parts that must be exchanged by()
?