Require the destination GlobalValue for LoadValueFromMemory to be passed

in as a parameter instead of returned.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-03-03 08:35:14 +00:00
parent 52f32d5566
commit 47567bdcb5

View File

@ -217,7 +217,8 @@ protected:
void EmitGlobalVariable(const GlobalVariable *GV);
GenericValue getConstantValue(const Constant *C);
GenericValue LoadValueFromMemory(GenericValue *Ptr, const Type *Ty);
void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr,
const Type *Ty);
};
} // End llvm namespace