aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-03-15 06:19:48 +0000
committerDavid Robillard <d@drobilla.net>2009-03-15 06:19:48 +0000
commit0bd85b083b35ec9287462ca42fba45dc7af48797 (patch)
tree1581ee46e934f37e14cff2a7afe124cb552a83cc
parentd787b3242dcce59977f3ef67538d6b414342c468 (diff)
downloadresp-0bd85b083b35ec9287462ca42fba45dc7af48797.tar.gz
resp-0bd85b083b35ec9287462ca42fba45dc7af48797.tar.bz2
resp-0bd85b083b35ec9287462ca42fba45dc7af48797.zip
Redundant check.
git-svn-id: http://svn.drobilla.net/resp/tuplr@102 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r--llvm.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm.cpp b/llvm.cpp
index e00b55d..0cd5199 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -569,8 +569,6 @@ eval(CEnv& cenv, const string& name, istream& is)
exprs.push_back(make_pair(exp, result));
}
- if (!resultType || resultType->var()) throw Error("body is undefined/untyped", cursor);
-
const Type* ctype = lltype(resultType);
if (!ctype) throw Error("body has non-compilable type", cursor);