diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index b42fb50ecdd2..04a73e855618 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp @@ -151,7 +151,7 @@ GenericValue lle_X_printString(MethodType *M, const vector &ArgVal GenericValue lle_X_print##TYPENAME(MethodType *M,\ const vector &ArgVal) {\ assert(ArgVal.size() == 1 && "generic print only takes one argument!");\ - assert(M->getParamTypes()[0].get()->getPrimitiveID() == Type::##TYPEID);\ + assert(M->getParamTypes()[0].get()->getPrimitiveID() == Type::TYPEID);\ Interpreter::printValue(M->getParamTypes()[0], ArgVal[0]);\ return GenericValue();\ }