Commit ed12ed47 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

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
parent 731a2aba
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment