From 80a70c300d693d0eb06bc1a455d83bd2e6e4f10e Mon Sep 17 00:00:00 2001 From: azidar Date: Mon, 31 Aug 2015 09:27:30 -0700 Subject: Sped up low form check by not checking the type of every expression, as it is unneeded --- src/main/stanza/errors.stanza | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/stanza/errors.stanza b/src/main/stanza/errors.stanza index 4bcf8dd7..8b8c86fb 100644 --- a/src/main/stanza/errors.stanza +++ b/src/main/stanza/errors.stanza @@ -1022,7 +1022,7 @@ public defn check-low-form (c:Circuit) -> Circuit : check-low-form-t(info,type(f),name(e)) if contains?(mems,name(e)) : check-low-form-t(info,type(type(e) as VectorType),name(e)) - (e) : check-low-form-t(info,type(e),to-symbol $ to-string(e)) + (e) : false ;check-low-form-t(info,type(e),to-symbol $ to-string(e)) defn check-low-form-s (s:Stmt) -> False : match(s) : (s:DefWire) : -- cgit v1.2.3