| Index: src/full-codegen/full-codegen.h
|
| diff --git a/src/full-codegen/full-codegen.h b/src/full-codegen/full-codegen.h
|
| index 9a34cf93f0f2cf5f5e37b0808a052f8769527bdb..508a9eaac89d12a3f7a90a23caff6267ac5f123a 100644
|
| --- a/src/full-codegen/full-codegen.h
|
| +++ b/src/full-codegen/full-codegen.h
|
| @@ -344,8 +344,7 @@ class FullCodeGenerator final : public AstVisitor<FullCodeGenerator> {
|
| // Returns a smi for the index into the FixedArray that backs the feedback
|
| // vector
|
| Smi* SmiFromSlot(FeedbackVectorSlot slot) const {
|
| - return Smi::FromInt(TypeFeedbackVector::GetIndexFromSpec(
|
| - literal()->feedback_vector_spec(), slot));
|
| + return Smi::FromInt(TypeFeedbackVector::GetIndex(slot));
|
| }
|
|
|
| // Record a call's return site offset, used to rebuild the frame if the
|
|
|