Index: src/ic/ic-state.h |
diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h |
index 0de01274876afd7e68c46e9a4bdc6a3041b2c027..836979c4f0f19384e5eb4a093af01d0203639fbc 100644 |
--- a/src/ic/ic-state.h |
+++ b/src/ic/ic-state.h |
@@ -235,6 +235,13 @@ class LoadGlobalICState final BASE_EMBEDDED { |
static TypeofMode GetTypeofMode(ExtraICState state) { |
return LoadGlobalICState(state).typeof_mode(); |
} |
+ |
+ // For convenience, a statically declared encoding of typeof mode |
+ // IC state. |
+ static const ExtraICState kInsideTypeOfState = INSIDE_TYPEOF |
+ << TypeofModeBits::kShift; |
+ static const ExtraICState kNotInsideTypeOfState = NOT_INSIDE_TYPEOF |
+ << TypeofModeBits::kShift; |
}; |