Chromium Code Reviews| Index: runtime/platform/globals.h |
| diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
| index c4343b5b6de3cd24d8edfbaaf0535648ce9fcc5c..92b2be7b702c65ed7e1be18d03ca7802e899a1bb 100644 |
| --- a/runtime/platform/globals.h |
| +++ b/runtime/platform/globals.h |
| @@ -341,6 +341,9 @@ const int64_t kSignBitDouble = DART_INT64_C(0x8000000000000000); |
| typedef intptr_t word; |
| typedef uintptr_t uword; |
| +// Size of a class id. We may make this 32-bit on 64-bit architectures. |
| +typedef uint16_t cid_t; |
|
siva
2015/06/08 23:09:21
Should we call it classid_t to be more verbose and
rmacnak
2015/06/09 00:02:51
Agreed.
|
| + |
| // Byte sizes. |
| const int kWordSize = sizeof(word); |
| const int kDoubleSize = sizeof(double); // NOLINT |