| Index: src/types-inl.h
|
| diff --git a/src/types-inl.h b/src/types-inl.h
|
| index 2e7f8a36fa76325acc2dd57a9b5f84ab8ca28050..c22dfd4fcc3bf365cdf68ac2ab1601f56a4ffa86 100644
|
| --- a/src/types-inl.h
|
| +++ b/src/types-inl.h
|
| @@ -16,6 +16,19 @@ namespace internal {
|
| // -----------------------------------------------------------------------------
|
| // TypeImpl
|
|
|
| +template <class Config>
|
| +typename TypeImpl<Config>::bitset TypeImpl<Config>::BitsetType::SignedSmall() {
|
| + return i::SmiValuesAre31Bits() ? kSigned31 : kSigned32;
|
| +}
|
| +
|
| +
|
| +template <class Config>
|
| +typename TypeImpl<Config>::bitset
|
| +TypeImpl<Config>::BitsetType::UnsignedSmall() {
|
| + return i::SmiValuesAre31Bits() ? kUnsigned30 : kUnsigned31;
|
| +}
|
| +
|
| +
|
| template<class Config>
|
| TypeImpl<Config>* TypeImpl<Config>::cast(typename Config::Base* object) {
|
| TypeImpl* t = static_cast<TypeImpl*>(object);
|
|
|