From 0bd85b083b35ec9287462ca42fba45dc7af48797 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Mar 2009 06:19:48 +0000 Subject: Redundant check. git-svn-id: http://svn.drobilla.net/resp/tuplr@102 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- llvm.cpp | 2 -- 1 file changed, 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); -- cgit v1.2.1