diff options
Diffstat (limited to 'llvm.cpp')
-rw-r--r-- | llvm.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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)) |