forked from OSchip/llvm-project
parent
3d9510ccc8
commit
e977e5d973
|
@ -151,7 +151,7 @@ GenericValue lle_X_printString(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();\
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue