Index: src/compiler/x87/instruction-selector-x87.cc |
diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc |
index 5f82178104c724bd67e27855beb97584cbcfc8cd..c197380c4ce8b1ab789edb6bcf3638370f83187f 100644 |
--- a/src/compiler/x87/instruction-selector-x87.cc |
+++ b/src/compiler/x87/instruction-selector-x87.cc |
@@ -897,7 +897,7 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { |
} |
// Select the appropriate opcode based on the call type. |
- InstructionCode opcode; |
+ InstructionCode opcode = kArchNop; |
switch (descriptor->kind()) { |
case CallDescriptor::kCallAddress: |
opcode = |
@@ -910,9 +910,9 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { |
case CallDescriptor::kCallJSFunction: |
opcode = kArchCallJSFunction | MiscField::encode(flags); |
break; |
- default: |
- UNREACHABLE(); |
- return; |
+ case CallDescriptor::kLazyBailout: |
+ opcode = kArchLazyBailout | MiscField::encode(flags); |
+ break; |
} |
// Emit the call instruction. |