Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index 1b174f6ebbd50c600fc0cfd69689c91b787b3dcc..de9c6974fbe817438bc49388bba7f000d1b3222f 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -345,7 +345,8 @@ struct CallBuffer { |
int 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. |
} |
}; |