| 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 "allocation.h" | 8 #include "allocation.h" |
| 9 #include "zone.h" | 9 #include "zone.h" |
| 10 | 10 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 F(GetArrayKeys, 2, 1) \ | 237 F(GetArrayKeys, 2, 1) \ |
| 238 F(MoveArrayContents, 2, 1) \ | 238 F(MoveArrayContents, 2, 1) \ |
| 239 F(EstimateNumberOfElements, 1, 1) \ | 239 F(EstimateNumberOfElements, 1, 1) \ |
| 240 \ | 240 \ |
| 241 /* Getters and Setters */ \ | 241 /* Getters and Setters */ \ |
| 242 F(LookupAccessor, 3, 1) \ | 242 F(LookupAccessor, 3, 1) \ |
| 243 \ | 243 \ |
| 244 /* ES5 */ \ | 244 /* ES5 */ \ |
| 245 F(ObjectFreeze, 1, 1) \ | 245 F(ObjectFreeze, 1, 1) \ |
| 246 \ | 246 \ |
| 247 /* Harmony microtasks */ \ | |
| 248 F(GetMicrotaskState, 0, 1) \ | |
| 249 \ | |
| 250 /* Harmony modules */ \ | 247 /* Harmony modules */ \ |
| 251 F(IsJSModule, 1, 1) \ | 248 F(IsJSModule, 1, 1) \ |
| 252 \ | 249 \ |
| 253 /* Harmony symbols */ \ | 250 /* Harmony symbols */ \ |
| 254 F(CreateSymbol, 1, 1) \ | 251 F(CreateSymbol, 1, 1) \ |
| 255 F(CreatePrivateSymbol, 1, 1) \ | 252 F(CreatePrivateSymbol, 1, 1) \ |
| 256 F(CreateGlobalPrivateSymbol, 1, 1) \ | 253 F(CreateGlobalPrivateSymbol, 1, 1) \ |
| 257 F(NewSymbolWrapper, 1, 1) \ | 254 F(NewSymbolWrapper, 1, 1) \ |
| 258 F(SymbolDescription, 1, 1) \ | 255 F(SymbolDescription, 1, 1) \ |
| 259 F(SymbolRegistry, 0, 1) \ | 256 F(SymbolRegistry, 0, 1) \ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 F(MapIteratorClose, 1, 1) \ | 292 F(MapIteratorClose, 1, 1) \ |
| 296 \ | 293 \ |
| 297 /* Harmony weak maps and sets */ \ | 294 /* Harmony weak maps and sets */ \ |
| 298 F(WeakCollectionInitialize, 1, 1) \ | 295 F(WeakCollectionInitialize, 1, 1) \ |
| 299 F(WeakCollectionGet, 2, 1) \ | 296 F(WeakCollectionGet, 2, 1) \ |
| 300 F(WeakCollectionHas, 2, 1) \ | 297 F(WeakCollectionHas, 2, 1) \ |
| 301 F(WeakCollectionDelete, 2, 1) \ | 298 F(WeakCollectionDelete, 2, 1) \ |
| 302 F(WeakCollectionSet, 3, 1) \ | 299 F(WeakCollectionSet, 3, 1) \ |
| 303 \ | 300 \ |
| 304 /* Harmony events */ \ | 301 /* Harmony events */ \ |
| 305 F(SetMicrotaskPending, 1, 1) \ | 302 F(EnqueueMicrotask, 1, 1) \ |
| 306 F(RunMicrotasks, 0, 1) \ | 303 F(RunMicrotasks, 0, 1) \ |
| 307 \ | 304 \ |
| 308 /* Harmony observe */ \ | 305 /* Harmony observe */ \ |
| 309 F(IsObserved, 1, 1) \ | 306 F(IsObserved, 1, 1) \ |
| 310 F(SetIsObserved, 1, 1) \ | 307 F(SetIsObserved, 1, 1) \ |
| 311 F(GetObservationState, 0, 1) \ | 308 F(GetObservationState, 0, 1) \ |
| 312 F(ObservationWeakMapCreate, 0, 1) \ | 309 F(ObservationWeakMapCreate, 0, 1) \ |
| 313 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ | 310 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ |
| 314 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \ | 311 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \ |
| 315 F(ObjectObserveInObjectContext, 3, 1) \ | 312 F(ObjectObserveInObjectContext, 3, 1) \ |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 892 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
| 896 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 893 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
| 897 | 894 |
| 898 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 895 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 899 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 896 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 900 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 897 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
| 901 | 898 |
| 902 } } // namespace v8::internal | 899 } } // namespace v8::internal |
| 903 | 900 |
| 904 #endif // V8_RUNTIME_H_ | 901 #endif // V8_RUNTIME_H_ |
| OLD | NEW |