Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index efe5d836d51bf157450037c3c34755e1d36beb4c..2a96ba08a7edc158c4d9fdebbd46cd33547a1cb1 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -348,7 +348,8 @@ struct CallBuffer { |
size_t frame_state_value_count() const { |
return (frame_state_descriptor == NULL) |
? 0 |
- : (frame_state_descriptor->size() + 1); |
+ : (frame_state_descriptor->total_size() + |
+ 1); // Include deopt id. |
} |
}; |