OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 switch (encoding) { | 1272 switch (encoding) { |
1273 case UnicodeEncoding::UTF16: | 1273 case UnicodeEncoding::UTF16: |
1274 return os << "UTF16"; | 1274 return os << "UTF16"; |
1275 case UnicodeEncoding::UTF32: | 1275 case UnicodeEncoding::UTF32: |
1276 return os << "UTF32"; | 1276 return os << "UTF32"; |
1277 } | 1277 } |
1278 UNREACHABLE(); | 1278 UNREACHABLE(); |
1279 return os; | 1279 return os; |
1280 } | 1280 } |
1281 | 1281 |
| 1282 enum class IterationKind { kKeys, kValues, kEntries }; |
| 1283 |
1282 } // namespace internal | 1284 } // namespace internal |
1283 } // namespace v8 | 1285 } // namespace v8 |
1284 | 1286 |
1285 namespace i = v8::internal; | 1287 namespace i = v8::internal; |
1286 | 1288 |
1287 #endif // V8_GLOBALS_H_ | 1289 #endif // V8_GLOBALS_H_ |
OLD | NEW |