diff --git a/Cargo.toml b/Cargo.toml index 4369ef9..56bc1c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,9 +18,10 @@ ringbuf = "0.2.2" triple_buffer = "5.0.6" lazy_static = "1.4.0" hound = "3.4.0" -synfx-dsp-jit = { path = "../synfx-dsp-jit", optional = true } -#synfx-dsp = "0.5.1" +synfx-dsp-jit = { git = "https://github.com/WeirdConstructor/synfx-dsp-jit", optional = true } synfx-dsp = { git = "https://github.com/WeirdConstructor/synfx-dsp" } +#synfx-dsp-jit = { path = "../synfx-dsp-jit", optional = true } +#synfx-dsp = "0.5.1" [dev-dependencies] num-complex = "0.2" diff --git a/src/wblockdsp/compiler.rs b/src/wblockdsp/compiler.rs index 608dc46..2492d60 100644 --- a/src/wblockdsp/compiler.rs +++ b/src/wblockdsp/compiler.rs @@ -208,12 +208,8 @@ pub struct Block2JITCompiler { tmpvar_counter: usize, } -// 1. compile the weird tree into a graph -// - make references where IDs go -// - add a use count to each node, so that we know when to make temporary variables - #[cfg(not(feature = "synfx-dsp-jit"))] -enum ASTNode { +pub enum ASTNode { NoSynfxDSPJit }