aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm.cpp b/llvm.cpp
index 13b6eaa..ddd5832 100644
--- a/llvm.cpp
+++ b/llvm.cpp
@@ -92,10 +92,11 @@ llEngine(CEnv& cenv)
}
#define LITERAL(CT, NAME, COMPILED) \
-template<> CValue \
-ALiteral<CT>::compile(CEnv& cenv) { return (COMPILED); } \
+template<> CValue ALiteral<CT>::compile(CEnv& cenv) { return (COMPILED); } \
template<> void \
-ALiteral<CT>::constrain(TEnv& tenv, Constraints& c) const { c.constrain(tenv, this, tenv.named(NAME)); }
+ALiteral<CT>::constrain(TEnv& tenv, Constraints& c) const { \
+ c.constrain(tenv, this, tenv.named(NAME)); \
+}
/// Literal template instantiations
LITERAL(int32_t, "Int", ConstantInt::get(Type::Int32Ty, val, true))