Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index e47b44b3833aa88859c26aa5ed0afaa0e172f8f8..73311016197910c832b0e1e66fb4a02120cd3e92 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5240,13 +5240,13 @@ MaybeObject* FixedDoubleArray::Copy() { |
} |
-void TypeFeedbackCells::SetAstId(int index, Smi* id) { |
- set(1 + index * 2, id); |
+void TypeFeedbackCells::SetAstId(int index, TypeFeedbackId id) { |
+ set(1 + index * 2, Smi::FromInt(id.ToInt())); |
} |
-Smi* TypeFeedbackCells::AstId(int index) { |
- return Smi::cast(get(1 + index * 2)); |
+TypeFeedbackId TypeFeedbackCells::AstId(int index) { |
+ return TypeFeedbackId(Smi::cast(get(1 + index * 2))->value()); |
} |