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_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_H_ |
6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/zone.h" | 9 #include "src/zone.h" |
10 | 10 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 F(MapIteratorInitialize, 3, 1) \ | 289 F(MapIteratorInitialize, 3, 1) \ |
290 F(MapIteratorNext, 2, 1) \ | 290 F(MapIteratorNext, 2, 1) \ |
291 \ | 291 \ |
292 /* Harmony weak maps and sets */ \ | 292 /* Harmony weak maps and sets */ \ |
293 F(WeakCollectionInitialize, 1, 1) \ | 293 F(WeakCollectionInitialize, 1, 1) \ |
294 F(WeakCollectionGet, 2, 1) \ | 294 F(WeakCollectionGet, 2, 1) \ |
295 F(WeakCollectionHas, 2, 1) \ | 295 F(WeakCollectionHas, 2, 1) \ |
296 F(WeakCollectionDelete, 2, 1) \ | 296 F(WeakCollectionDelete, 2, 1) \ |
297 F(WeakCollectionSet, 3, 1) \ | 297 F(WeakCollectionSet, 3, 1) \ |
298 \ | 298 \ |
299 F(GetWeakMapEntries, 1, 1) \ | |
300 \ | |
301 /* Harmony events */ \ | 299 /* Harmony events */ \ |
302 F(EnqueueMicrotask, 1, 1) \ | 300 F(EnqueueMicrotask, 1, 1) \ |
303 F(RunMicrotasks, 0, 1) \ | 301 F(RunMicrotasks, 0, 1) \ |
304 \ | 302 \ |
305 /* Harmony observe */ \ | 303 /* Harmony observe */ \ |
306 F(IsObserved, 1, 1) \ | 304 F(IsObserved, 1, 1) \ |
307 F(SetIsObserved, 1, 1) \ | 305 F(SetIsObserved, 1, 1) \ |
308 F(GetObservationState, 0, 1) \ | 306 F(GetObservationState, 0, 1) \ |
309 F(ObservationWeakMapCreate, 0, 1) \ | 307 F(ObservationWeakMapCreate, 0, 1) \ |
310 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ | 308 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 884 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
887 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 885 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
888 | 886 |
889 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 887 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
890 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 888 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
891 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 889 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
892 | 890 |
893 } } // namespace v8::internal | 891 } } // namespace v8::internal |
894 | 892 |
895 #endif // V8_RUNTIME_H_ | 893 #endif // V8_RUNTIME_H_ |
OLD | NEW |