When resolving phies use ANY instead of NONE as a policy for phi operands.
R=fschneider@chromium.org Review URL: http://codereview.chromium.org/7313023 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8562 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d54460fd85
commit
c1e1e97b8b
@ -1024,7 +1024,7 @@ void LAllocator::ResolvePhis(HBasicBlock* block) {
|
||||
operand = chunk_->DefineConstantOperand(constant);
|
||||
} else {
|
||||
ASSERT(!op->EmitAtUses());
|
||||
LUnallocated* unalloc = new LUnallocated(LUnallocated::NONE);
|
||||
LUnallocated* unalloc = new LUnallocated(LUnallocated::ANY);
|
||||
unalloc->set_virtual_register(op->id());
|
||||
operand = unalloc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user