Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 24ee60f1bb4dcec1934b5d1a486f41bc734dd2f0..ee5aff685f91d68ccf1c1a3734fb85bee0bb9eac 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -5450,6 +5450,9 @@ template <> struct SmiTagging<8> { |
| }; |
| typedef SmiTagging<kApiPointerSize> PlatformSmiTagging; |
| +V8_INLINE(static bool SmiValuesAre31Bits()) { return kApiPointerSize == 4; } |
| +V8_INLINE(static bool SmiValuesAre32Bits()) { return kApiPointerSize == 8; } |
|
danno
2013/08/13 09:41:36
Please put this after "const int kSmiValueSize..."
haitao.feng
2013/08/13 10:37:53
Done.
|
| + |
| const int kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize; |
| const int kSmiValueSize = PlatformSmiTagging::kSmiValueSize; |