diff options
Diffstat (limited to 'deps/v8/src/objects/shared-function-info-inl.h')
-rw-r--r-- | deps/v8/src/objects/shared-function-info-inl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/objects/shared-function-info-inl.h b/deps/v8/src/objects/shared-function-info-inl.h index af1b685ca8a..169e3c0c156 100644 --- a/deps/v8/src/objects/shared-function-info-inl.h +++ b/deps/v8/src/objects/shared-function-info-inl.h @@ -5,6 +5,7 @@ #ifndef V8_OBJECTS_SHARED_FUNCTION_INFO_INL_H_ #define V8_OBJECTS_SHARED_FUNCTION_INFO_INL_H_ +#include "src/base/macros.h" #include "src/objects/shared-function-info.h" #include "src/handles/handles-inl.h" @@ -250,6 +251,7 @@ void SharedFunctionInfo::set_language_mode(LanguageMode language_mode) { } FunctionKind SharedFunctionInfo::kind() const { + STATIC_ASSERT(FunctionKindBits::kSize == kFunctionKindBitSize); return FunctionKindBits::decode(flags()); } |