Commit b79f00bc authored by jarin's avatar jarin Committed by Commit bot

[turbofan] Change deoptimization register allocator constraints to ANY.

Review URL: https://codereview.chromium.org/1398943003

Cr-Commit-Position: refs/heads/master@{#31283}
parent 3348efaa
......@@ -78,6 +78,12 @@ class OperandGenerator {
GetVReg(node)));
}
InstructionOperand UseAny(Node* node) {
return Use(node, UnallocatedOperand(UnallocatedOperand::ANY,
UnallocatedOperand::USED_AT_START,
GetVReg(node)));
}
InstructionOperand UseRegister(Node* node) {
return Use(node, UnallocatedOperand(UnallocatedOperand::MUST_HAVE_REGISTER,
UnallocatedOperand::USED_AT_START,
......
......@@ -1096,7 +1096,7 @@ InstructionOperand InstructionSelector::OperandForDeopt(
case FrameStateInputKind::kStackSlot:
return g->UseUniqueSlot(input);
case FrameStateInputKind::kAny:
return g->Use(input);
return g->UseAny(input);
}
UNREACHABLE();
return InstructionOperand();
......
......@@ -160,8 +160,6 @@ void RegisterAllocatorVerifier::BuildConstraint(const InstructionOperand* op,
} else {
switch (unallocated->extended_policy()) {
case UnallocatedOperand::ANY:
CHECK(false);
break;
case UnallocatedOperand::NONE:
if (sequence()->IsFloat(vreg)) {
constraint->type_ = kNoneDouble;
......
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