aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);