Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: src/globals.h

Issue 2675233002: [iwyu] runtime.h doesn't need objects.h (Closed)
Patch Set: more Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1314 // be enumerable or not, and, in case of functions, the function name 1314 // be enumerable or not, and, in case of functions, the function name
1315 // can be set or not. 1315 // can be set or not.
1316 enum class DataPropertyInLiteralFlag { 1316 enum class DataPropertyInLiteralFlag {
1317 kNoFlags = 0, 1317 kNoFlags = 0,
1318 kDontEnum = 1 << 0, 1318 kDontEnum = 1 << 0,
1319 kSetFunctionName = 1 << 1 1319 kSetFunctionName = 1 << 1
1320 }; 1320 };
1321 typedef base::Flags<DataPropertyInLiteralFlag> DataPropertyInLiteralFlags; 1321 typedef base::Flags<DataPropertyInLiteralFlag> DataPropertyInLiteralFlags;
1322 DEFINE_OPERATORS_FOR_FLAGS(DataPropertyInLiteralFlags) 1322 DEFINE_OPERATORS_FOR_FLAGS(DataPropertyInLiteralFlags)
1323 1323
1324 enum ExternalArrayType {
1325 kExternalInt8Array = 1,
1326 kExternalUint8Array,
1327 kExternalInt16Array,
1328 kExternalUint16Array,
1329 kExternalInt32Array,
1330 kExternalUint32Array,
1331 kExternalFloat32Array,
1332 kExternalFloat64Array,
1333 kExternalUint8ClampedArray,
1334 };
1335
1324 } // namespace internal 1336 } // namespace internal
1325 } // namespace v8 1337 } // namespace v8
1326 1338
1327 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is 1339 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is
1328 // reducing a JSArray method, or a JSTypedArray method. 1340 // reducing a JSArray method, or a JSTypedArray method.
1329 enum class ArrayIteratorKind { kArray, kTypedArray }; 1341 enum class ArrayIteratorKind { kArray, kTypedArray };
1330 1342
1331 namespace i = v8::internal; 1343 namespace i = v8::internal;
1332 1344
1333 #endif // V8_GLOBALS_H_ 1345 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698