aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index 7c60126aae..82da428f88 100644
--- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -151,11 +151,10 @@ GenericValue lle_X_printString(MethodType *M, const vector<GenericValue> &ArgVal
// Implement 'void print<TYPE>(X)' for each primitive type or pointer type
#define PRINT_TYPE_FUNC(TYPENAME,TYPEID) \
- GenericValue lle_X_print##TYPENAME##(MethodType *M,\
- const vector<GenericValue> &ArgVal) {\
+ GenericValue lle_X_print##TYPENAME(MethodType *M,\
+ const vector<GenericValue> &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();\
}