Prepare for merge

This commit is contained in:
Weird Constructor 2022-08-06 09:34:41 +02:00
parent 87104ded31
commit d3b032a1a4
2 changed files with 4 additions and 7 deletions

View file

@ -18,9 +18,10 @@ ringbuf = "0.2.2"
triple_buffer = "5.0.6" triple_buffer = "5.0.6"
lazy_static = "1.4.0" lazy_static = "1.4.0"
hound = "3.4.0" hound = "3.4.0"
synfx-dsp-jit = { path = "../synfx-dsp-jit", optional = true } synfx-dsp-jit = { git = "https://github.com/WeirdConstructor/synfx-dsp-jit", optional = true }
#synfx-dsp = "0.5.1"
synfx-dsp = { git = "https://github.com/WeirdConstructor/synfx-dsp" } 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] [dev-dependencies]
num-complex = "0.2" num-complex = "0.2"

View file

@ -208,12 +208,8 @@ pub struct Block2JITCompiler {
tmpvar_counter: usize, 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"))] #[cfg(not(feature = "synfx-dsp-jit"))]
enum ASTNode { pub enum ASTNode {
NoSynfxDSPJit NoSynfxDSPJit
} }