| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index 4a81c57073c6a074fadfe0e072a97172f8aa347d..5d8f3b670be7342c6d883fe07f6a30265f531054 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -1279,6 +1279,21 @@ inline std::ostream& operator<<(std::ostream& os, UnicodeEncoding encoding) {
|
| return os;
|
| }
|
|
|
| +enum class IterationKind { kKeys, kValues, kEntries };
|
| +
|
| +inline std::ostream& operator<<(std::ostream& os, IterationKind kind) {
|
| + switch (kind) {
|
| + case IterationKind::kKeys:
|
| + return os << "IterationKind::kKeys";
|
| + case IterationKind::kValues:
|
| + return os << "IterationKind::kValues";
|
| + case IterationKind::kEntries:
|
| + return os << "IterationKind::kEntries";
|
| + }
|
| + UNREACHABLE();
|
| + return os;
|
| +}
|
| +
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|