No, seriously folks, memcpy really does return void.

llvm-svn: 21575
This commit is contained in:
Reid Spencer 2005-04-26 22:49:48 +00:00
parent aaca170867
commit f8c03d9db6
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ public:
{ {
// Just make sure this has 4 arguments per LLVM spec. // Just make sure this has 4 arguments per LLVM spec.
return (f->arg_size() == 4) && return (f->arg_size() == 4) &&
(f->getReturnType() == PointerType::get(Type::VoidTy)); (f->getReturnType() == Type::VoidTy);
} }
/// Because of alignment and instruction information that we don't have, we /// Because of alignment and instruction information that we don't have, we