Fix invalid condition introduced with revision 15441.
R=danno@chromium.org Review URL: https://codereview.chromium.org/18375004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15445 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
731a2aba34
commit
ed12ed4793
@ -213,7 +213,11 @@ void HUint32AnalysisPhase::Run() {
|
||||
// Analyze instruction and mark it with kUint32 if all
|
||||
// its uses are uint32 safe.
|
||||
HInstruction* current = uint32_instructions->at(i);
|
||||
if (Uint32UsesAreSafe(current)) current->SetFlag(HInstruction::kUint32);
|
||||
if (current->IsLinked() &&
|
||||
current->representation().IsInteger32() &&
|
||||
Uint32UsesAreSafe(current)) {
|
||||
current->SetFlag(HInstruction::kUint32);
|
||||
}
|
||||
}
|
||||
|
||||
// Some phis might have been optimistically marked with kUint32 flag.
|
||||
|
Loading…
Reference in New Issue
Block a user