Index: src/compiler/scheduler.cc |
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc |
index b04ba6f92636feb93a3e4e629d4166f92fb64de9..58c01ccf0372fffdef70cad0d20b176e302805a4 100644 |
--- a/src/compiler/scheduler.cc |
+++ b/src/compiler/scheduler.cc |
@@ -324,6 +324,10 @@ class CFGBuilder : public ZoneObject { |
case IrOpcode::kSwitch: |
BuildBlocksForSuccessors(node); |
break; |
+#define BUILD_BLOCK_JS_CASE(Name) case IrOpcode::k##Name: |
+ JS_OP_LIST(BUILD_BLOCK_JS_CASE) |
+// JS opcodes are just like calls => fall through. |
+#undef BUILD_BLOCK_JS_CASE |
case IrOpcode::kCall: |
if (NodeProperties::IsExceptionalCall(node)) { |
BuildBlocksForSuccessors(node); |
@@ -364,6 +368,10 @@ class CFGBuilder : public ZoneObject { |
scheduler_->UpdatePlacement(node, Scheduler::kFixed); |
ConnectThrow(node); |
break; |
+#define CONNECT_BLOCK_JS_CASE(Name) case IrOpcode::k##Name: |
+ JS_OP_LIST(CONNECT_BLOCK_JS_CASE) |
+// JS opcodes are just like calls => fall through. |
+#undef CONNECT_BLOCK_JS_CASE |
case IrOpcode::kCall: |
if (NodeProperties::IsExceptionalCall(node)) { |
scheduler_->UpdatePlacement(node, Scheduler::kFixed); |