From 4c673ec19815559fd8d6ab2562314310a77bfa76 Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Tue, 2 Aug 2022 05:12:09 +0200 Subject: [PATCH] Removed dummy jit code --- src/nodes/node_conf.rs | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/nodes/node_conf.rs b/src/nodes/node_conf.rs index 73163b6..de70b06 100644 --- a/src/nodes/node_conf.rs +++ b/src/nodes/node_conf.rs @@ -709,18 +709,6 @@ impl NodeConfigurator { if let Some(cod) = self.code_engines.get_mut(id) { use synfx_dsp_jit::build::*; cod.upload(ast); -// stmts(&[ -// assign( -// "*phase", -// op_add(var("*phase"), op_mul(literal(440.0), var("israte"))), -// ), -// _if( -// op_gt(var("*phase"), literal(1.0)), -// assign("*phase", op_sub(var("*phase"), literal(1.0))), -// None, -// ), -// var("*phase"), -// ])); } } } @@ -763,19 +751,6 @@ impl NodeConfigurator { let code_idx = ni.instance(); if let Some(cod) = self.code_engines.get_mut(code_idx) { node.set_backend(cod.get_backend()); - use synfx_dsp_jit::build::*; - cod.upload(stmts(&[ - assign( - "*phase", - op_add(var("*phase"), op_mul(literal(440.0), var("israte"))), - ), - _if( - op_gt(var("*phase"), literal(1.0)), - assign("*phase", op_sub(var("*phase"), literal(1.0))), - None, - ), - var("*phase"), - ])); } }