Chromium Code Reviews| Index: src/globals.h |
| diff --git a/src/globals.h b/src/globals.h |
| index ea74b5d3303029824d5e07bef591afd73f24c4de..fe08adad2c348b0d44e781bb6b4e819034d76c5a 100644 |
| --- a/src/globals.h |
| +++ b/src/globals.h |
| @@ -471,6 +471,11 @@ struct AccessorDescriptor { |
| V(EXTERNAL) |
| enum StateTag { |
| +#ifdef ENABLE_CPP_PROFILES_PROCESSOR |
| + // This is to ensure that VM state field value of TickSample |
| + // never gets equal to SamplingCircularQueue::kClear. |
| + NULL_STATE = 0, |
| +#endif |
| #define DEF_STATE_TAG(name) name, |
| STATE_TAG_LIST(DEF_STATE_TAG) |
| #undef DEF_STATE_TAG |