Skip to content
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

[WIP] Root the instructions to avoid refcount clones #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ path = "src/main.rs"

[workspace.dependencies]
# This has to line up with the workspace version above
steel-core = { path = "./crates/steel-core", version = "0.6.0", features = ["dylibs", "markdown", "stacker", "dylib-build"] }
steel-core = { path = "./crates/steel-core", version = "0.6.0", features = ["dylibs", "markdown", "stacker", "dylib-build", "rooted-instructions"] }

[features]
interrupt = ["steel-core/interrupt"]
Expand Down
1 change: 1 addition & 0 deletions crates/steel-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ without-drop-protection = []
stacker = ["dep:stacker"]
dylib-build = ["dep:cargo-steel-lib"]
interrupt = []
rooted-instructions = []


[[bench]]
Expand Down
3 changes: 0 additions & 3 deletions crates/steel-core/src/compiler/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,9 +994,6 @@ impl Compiler {
// Make sure to apply the peephole optimizations
raw_program.apply_optimizations();

// Lets see everything that gets run!
// raw_program.debug_print();

Ok(raw_program)
}

Expand Down
Loading
Loading