| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index b905a747169ae3412f525ed848629215fb2bcf24..769df07e4fa20b97186ebbaeaa20e1aca4ef3ec5 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -709,8 +709,7 @@ void TypeFeedbackOracle::SetInfo(TypeFeedbackId ast_id, Object* target) {
|
|
|
| Representation Representation::FromType(TypeInfo info) {
|
| if (info.IsUninitialized()) return Representation::None();
|
| - // TODO(verwaest): Return Smi rather than Integer32.
|
| - if (info.IsSmi()) return Representation::Integer32();
|
| + if (info.IsSmi()) return Representation::Smi();
|
| if (info.IsInteger32()) return Representation::Integer32();
|
| if (info.IsDouble()) return Representation::Double();
|
| if (info.IsNumber()) return Representation::Double();
|
|
|