Index: src/compiler/scheduler.cc |
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc |
index c2d043f01ff4261a2bb9d46a0e7cfb2db9671cd5..6ec2295d6f325ec4eecea312be9340165a35f72c 100644 |
--- a/src/compiler/scheduler.cc |
+++ b/src/compiler/scheduler.cc |
@@ -75,7 +75,8 @@ Scheduler::Placement Scheduler::GetPlacement(Node* node) { |
if (data->placement_ == kUnknown) { // Compute placement, once, on demand. |
switch (node->opcode()) { |
case IrOpcode::kParameter: |
- // Parameters are always fixed to the start node. |
+ case IrOpcode::kOsrValue: |
+ // Parameters and OSR values are always fixed to the start block. |
data->placement_ = kFixed; |
break; |
case IrOpcode::kPhi: |