diff options
| author | azidar | 2015-08-31 09:27:30 -0700 |
|---|---|---|
| committer | azidar | 2015-08-31 09:27:30 -0700 |
| commit | 80a70c300d693d0eb06bc1a455d83bd2e6e4f10e (patch) | |
| tree | 3fe55555c668295f1d4c96ac4b20869fdc798d51 | |
| parent | 9cf5949c19c25ed59b5b75596fbc7406a2f32071 (diff) | |
Sped up low form check by not checking the type of every expression, as it is unneeded
| -rw-r--r-- | src/main/stanza/errors.stanza | 2 |
1 files changed, 1 insertions, 1 deletions
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) : |
