add a comment

llvm-svn: 23442
This commit is contained in:
Chris Lattner 2005-09-26 05:16:34 +00:00
parent 2addd0dcab
commit e149840f04

View File

@ -1263,6 +1263,9 @@ static void CommitValueTo(Constant *Val, Constant *Addr) {
GV->setInitializer(Val);
}
/// ComputeLoadResult - Return the value that would be computed by a load from
/// P after the stores reflected by 'memory' have been performed. If we can't
/// decide, return null.
static Constant *ComputeLoadResult(Constant *P,
const std::map<Constant*, Constant*> &Memory) {
// If this memory location has been recently stored, use the stored value: it