From c24223f28e5a4c282ff7ddb2ad16471a84f373b9 Mon Sep 17 00:00:00 2001 From: greg Date: Sat, 29 Sep 2018 12:46:52 -0700 Subject: [PATCH] Got rid of some old code --- schala-codegen/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/schala-codegen/src/lib.rs b/schala-codegen/src/lib.rs index 108aba5..2cd08b5 100644 --- a/schala-codegen/src/lib.rs +++ b/schala-codegen/src/lib.rs @@ -87,7 +87,6 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream } }; - //let pass_names: Vec = passes.iter().map(|pass| pass.0.to_string()).collect(); let pass_descriptors = passes.iter().map(|pass| { let name = pass.0.to_string(); let opts: Vec = match &pass.1 { @@ -118,11 +117,8 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream } fn get_passes(&self) -> Vec { vec![ #(#pass_descriptors),* ] - //vec![ #(PassDescriptor { name: #pass_names.to_string(), debug_options: vec![] }),* ] } - #doc_method_body - } };