diff --git a/src/env-inl.h b/src/env-inl.h index f50ec13732e015..9084cb5159e58a 100644 --- a/src/env-inl.h +++ b/src/env-inl.h @@ -118,7 +118,7 @@ inline uint32_t Environment::DomainFlag::count() const { return fields_[kCount]; } -inline Environment::TickInfo::TickInfo() : in_tick_(false) { +inline Environment::TickInfo::TickInfo() { for (int i = 0; i < kFieldsCount; ++i) fields_[i] = 0; } @@ -131,10 +131,6 @@ inline int Environment::TickInfo::fields_count() const { return kFieldsCount; } -inline bool Environment::TickInfo::in_tick() const { - return in_tick_; -} - inline uint32_t Environment::TickInfo::index() const { return fields_[kIndex]; } @@ -143,10 +139,6 @@ inline uint32_t Environment::TickInfo::length() const { return fields_[kLength]; } -inline void Environment::TickInfo::set_in_tick(bool value) { - in_tick_ = value; -} - inline void Environment::TickInfo::set_index(uint32_t value) { fields_[kIndex] = value; } diff --git a/src/env.h b/src/env.h index 5849d7a92107e2..44318da1fa3d0f 100644 --- a/src/env.h +++ b/src/env.h @@ -331,10 +331,8 @@ class Environment { public: inline uint32_t* fields(); inline int fields_count() const; - inline bool in_tick() const; inline uint32_t index() const; inline uint32_t length() const; - inline void set_in_tick(bool value); inline void set_index(uint32_t value); private: @@ -348,7 +346,6 @@ class Environment { }; uint32_t fields_[kFieldsCount]; - bool in_tick_; DISALLOW_COPY_AND_ASSIGN(TickInfo); };