Make StoreValueToMemory a little more efficient by not copying a

GenericValue to a temporary.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-03-06 05:02:28 +00:00
parent 5763105121
commit 2471ae46df

View File

@ -176,7 +176,7 @@ public:
const GlobalValue *getGlobalValueAtAddress(void *Addr);
void StoreValueToMemory(GenericValue Val, GenericValue *Ptr, const Type *Ty);
void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, const Type *Ty);
void InitializeMemory(const Constant *Init, void *Addr);
/// recompileAndRelinkFunction - This method is used to force a function