| 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/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/zone.h" | 10 #include "src/zone.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 F(UnblockConcurrentRecompilation, 0, 1) \ | 73 F(UnblockConcurrentRecompilation, 0, 1) \ |
| 74 F(CompileForOnStackReplacement, 1, 1) \ | 74 F(CompileForOnStackReplacement, 1, 1) \ |
| 75 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ | 75 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ |
| 76 F(SetNativeFlag, 1, 1) \ | 76 F(SetNativeFlag, 1, 1) \ |
| 77 F(SetInlineBuiltinFlag, 1, 1) \ | 77 F(SetInlineBuiltinFlag, 1, 1) \ |
| 78 F(StoreArrayLiteralElement, 5, 1) \ | 78 F(StoreArrayLiteralElement, 5, 1) \ |
| 79 F(DebugPrepareStepInIfStepping, 1, 1) \ | 79 F(DebugPrepareStepInIfStepping, 1, 1) \ |
| 80 F(DebugPushPromise, 1, 1) \ | 80 F(DebugPushPromise, 1, 1) \ |
| 81 F(DebugPopPromise, 0, 1) \ | 81 F(DebugPopPromise, 0, 1) \ |
| 82 F(DebugPromiseEvent, 1, 1) \ | 82 F(DebugPromiseEvent, 1, 1) \ |
| 83 F(DebugPromiseRejectEvent, 2, 1) \ |
| 83 F(DebugAsyncTaskEvent, 1, 1) \ | 84 F(DebugAsyncTaskEvent, 1, 1) \ |
| 84 F(PromiseRejectEvent, 3, 1) \ | 85 F(PromiseRejectMessage, 2, 1) \ |
| 85 F(PromiseRevokeReject, 1, 1) \ | 86 F(PromiseRevokeRejectMessage, 1, 1) \ |
| 86 F(PromiseHasHandlerSymbol, 0, 1) \ | |
| 87 F(FlattenString, 1, 1) \ | 87 F(FlattenString, 1, 1) \ |
| 88 F(LoadMutableDouble, 2, 1) \ | 88 F(LoadMutableDouble, 2, 1) \ |
| 89 F(TryMigrateInstance, 1, 1) \ | 89 F(TryMigrateInstance, 1, 1) \ |
| 90 F(NotifyContextDisposed, 0, 1) \ | 90 F(NotifyContextDisposed, 0, 1) \ |
| 91 \ | 91 \ |
| 92 /* Array join support */ \ | 92 /* Array join support */ \ |
| 93 F(PushIfAbsent, 2, 1) \ | 93 F(PushIfAbsent, 2, 1) \ |
| 94 F(ArrayConcat, 1, 1) \ | 94 F(ArrayConcat, 1, 1) \ |
| 95 \ | 95 \ |
| 96 /* Conversions */ \ | 96 /* Conversions */ \ |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 F(WeakCollectionHas, 2, 1) \ | 322 F(WeakCollectionHas, 2, 1) \ |
| 323 F(WeakCollectionDelete, 2, 1) \ | 323 F(WeakCollectionDelete, 2, 1) \ |
| 324 F(WeakCollectionSet, 3, 1) \ | 324 F(WeakCollectionSet, 3, 1) \ |
| 325 \ | 325 \ |
| 326 F(GetWeakMapEntries, 1, 1) \ | 326 F(GetWeakMapEntries, 1, 1) \ |
| 327 F(GetWeakSetValues, 1, 1) \ | 327 F(GetWeakSetValues, 1, 1) \ |
| 328 \ | 328 \ |
| 329 /* Harmony events */ \ | 329 /* Harmony events */ \ |
| 330 F(EnqueueMicrotask, 1, 1) \ | 330 F(EnqueueMicrotask, 1, 1) \ |
| 331 F(RunMicrotasks, 0, 1) \ | 331 F(RunMicrotasks, 0, 1) \ |
| 332 F(PendingMicrotaskCount, 0, 1) \ |
| 332 \ | 333 \ |
| 333 /* Harmony observe */ \ | 334 /* Harmony observe */ \ |
| 334 F(IsObserved, 1, 1) \ | 335 F(IsObserved, 1, 1) \ |
| 335 F(SetIsObserved, 1, 1) \ | 336 F(SetIsObserved, 1, 1) \ |
| 336 F(GetObservationState, 0, 1) \ | 337 F(GetObservationState, 0, 1) \ |
| 337 F(ObservationWeakMapCreate, 0, 1) \ | 338 F(ObservationWeakMapCreate, 0, 1) \ |
| 338 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ | 339 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \ |
| 339 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \ | 340 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \ |
| 340 F(GetObjectContextObjectObserve, 1, 1) \ | 341 F(GetObjectContextObjectObserve, 1, 1) \ |
| 341 F(GetObjectContextObjectGetNotifier, 1, 1) \ | 342 F(GetObjectContextObjectGetNotifier, 1, 1) \ |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; | 901 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; |
| 901 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 902 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
| 902 | 903 |
| 903 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 904 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 904 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 905 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 905 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 906 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
| 906 } | 907 } |
| 907 } // namespace v8::internal | 908 } // namespace v8::internal |
| 908 | 909 |
| 909 #endif // V8_RUNTIME_H_ | 910 #endif // V8_RUNTIME_H_ |
| OLD | NEW |