mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 00:25:01 +00:00
add a comment
llvm-svn: 23442
This commit is contained in:
parent
2addd0dcab
commit
e149840f04
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user