mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
Use true instead of 1 for a boolean value. And fix a copy+pasto
in a comment. llvm-svn: 70882
This commit is contained in:
parent
83dfa97326
commit
f8f167320d
@ -406,8 +406,8 @@ Value *Value::DoPHITranslation(const BasicBlock *CurBB,
|
||||
typedef DenseMap<Value*, ValueHandleBase*> ValueHandlesTy;
|
||||
static ManagedStatic<ValueHandlesTy> ValueHandles;
|
||||
|
||||
/// AddToUseList - Add this ValueHandle to the use list for VP, where List is
|
||||
/// known to point into the existing use list.
|
||||
/// AddToExistingUseList - Add this ValueHandle to the use list for VP, where
|
||||
/// List is known to point into the existing use list.
|
||||
void ValueHandleBase::AddToExistingUseList(ValueHandleBase **List) {
|
||||
assert(List && "Handle list is null?");
|
||||
|
||||
@ -443,7 +443,7 @@ void ValueHandleBase::AddToUseList() {
|
||||
ValueHandleBase *&Entry = Handles[VP];
|
||||
assert(Entry == 0 && "Value really did already have handles?");
|
||||
AddToExistingUseList(&Entry);
|
||||
VP->HasValueHandle = 1;
|
||||
VP->HasValueHandle = true;
|
||||
|
||||
// If reallocation didn't happen or if this was the first insertion, don't
|
||||
// walk the table.
|
||||
|
Loading…
x
Reference in New Issue
Block a user