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
// 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.