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

Side by Side Diff: src/runtime/runtime.h

Issue 1909433003: Remove support for Object.observe (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 8 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/objects-printer.cc ('k') | src/runtime/runtime-collections.cc » ('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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 F(MapIteratorInitialize, 3, 1) \ 111 F(MapIteratorInitialize, 3, 1) \
112 F(MapIteratorClone, 1, 1) \ 112 F(MapIteratorClone, 1, 1) \
113 F(MapIteratorDetails, 1, 1) \ 113 F(MapIteratorDetails, 1, 1) \
114 F(GetWeakMapEntries, 2, 1) \ 114 F(GetWeakMapEntries, 2, 1) \
115 F(MapIteratorNext, 2, 1) \ 115 F(MapIteratorNext, 2, 1) \
116 F(WeakCollectionInitialize, 1, 1) \ 116 F(WeakCollectionInitialize, 1, 1) \
117 F(WeakCollectionGet, 3, 1) \ 117 F(WeakCollectionGet, 3, 1) \
118 F(WeakCollectionHas, 3, 1) \ 118 F(WeakCollectionHas, 3, 1) \
119 F(WeakCollectionDelete, 3, 1) \ 119 F(WeakCollectionDelete, 3, 1) \
120 F(WeakCollectionSet, 4, 1) \ 120 F(WeakCollectionSet, 4, 1) \
121 F(GetWeakSetValues, 2, 1) \ 121 F(GetWeakSetValues, 2, 1)
122 F(ObservationWeakMapCreate, 0, 1)
123 122
124 #define FOR_EACH_INTRINSIC_COMPILER(F) \ 123 #define FOR_EACH_INTRINSIC_COMPILER(F) \
125 F(CompileLazy, 1, 1) \ 124 F(CompileLazy, 1, 1) \
126 F(CompileOptimized_Concurrent, 1, 1) \ 125 F(CompileOptimized_Concurrent, 1, 1) \
127 F(CompileOptimized_NotConcurrent, 1, 1) \ 126 F(CompileOptimized_NotConcurrent, 1, 1) \
128 F(NotifyStubFailure, 0, 1) \ 127 F(NotifyStubFailure, 0, 1) \
129 F(NotifyDeoptimized, 1, 1) \ 128 F(NotifyDeoptimized, 1, 1) \
130 F(CompileForOnStackReplacement, 1, 1) \ 129 F(CompileForOnStackReplacement, 1, 1) \
131 F(TryInstallOptimizedCode, 1, 1) \ 130 F(TryInstallOptimizedCode, 1, 1) \
132 F(ResolvePossiblyDirectEval, 6, 1) 131 F(ResolvePossiblyDirectEval, 6, 1)
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 F(CallSiteIsEvalRT, 1, 1) \ 311 F(CallSiteIsEvalRT, 1, 1) \
313 F(CallSiteIsConstructorRT, 1, 1) \ 312 F(CallSiteIsConstructorRT, 1, 1) \
314 F(IS_VAR, 1, 1) \ 313 F(IS_VAR, 1, 1) \
315 F(ThrowConstructedNonConstructable, 1, 1) \ 314 F(ThrowConstructedNonConstructable, 1, 1) \
316 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ 315 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \
317 F(ThrowCalledNonCallable, 1, 1) \ 316 F(ThrowCalledNonCallable, 1, 1) \
318 F(ThrowCalledOnNullOrUndefined, 1, 1) \ 317 F(ThrowCalledOnNullOrUndefined, 1, 1) \
319 F(CreateListFromArrayLike, 1, 1) \ 318 F(CreateListFromArrayLike, 1, 1) \
320 F(IncrementUseCounter, 1, 1) \ 319 F(IncrementUseCounter, 1, 1) \
321 F(GetOrdinaryHasInstance, 0, 1) \ 320 F(GetOrdinaryHasInstance, 0, 1) \
322 F(GetAndResetRuntimeCallStats, 0, 1) 321 F(GetAndResetRuntimeCallStats, 0, 1) \
322 F(EnqueueMicrotask, 1, 1) \
323 F(RunMicrotasks, 0, 1)
323 324
324 #define FOR_EACH_INTRINSIC_JSON(F) \ 325 #define FOR_EACH_INTRINSIC_JSON(F) \
325 F(QuoteJSONString, 1, 1) \ 326 F(QuoteJSONString, 1, 1) \
326 F(BasicJSONStringify, 1, 1) \ 327 F(BasicJSONStringify, 1, 1) \
327 F(ParseJson, 1, 1) 328 F(ParseJson, 1, 1)
328 329
329 330
330 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 331 #define FOR_EACH_INTRINSIC_LITERALS(F) \
331 F(CreateRegExpLiteral, 4, 1) \ 332 F(CreateRegExpLiteral, 4, 1) \
332 F(CreateObjectLiteral, 4, 1) \ 333 F(CreateObjectLiteral, 4, 1) \
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 F(Compare, 3, 1) \ 437 F(Compare, 3, 1) \
437 F(InstanceOf, 2, 1) \ 438 F(InstanceOf, 2, 1) \
438 F(OrdinaryHasInstance, 2, 1) \ 439 F(OrdinaryHasInstance, 2, 1) \
439 F(HasInPrototypeChain, 2, 1) \ 440 F(HasInPrototypeChain, 2, 1) \
440 F(CreateIterResultObject, 2, 1) \ 441 F(CreateIterResultObject, 2, 1) \
441 F(IsAccessCheckNeeded, 1, 1) \ 442 F(IsAccessCheckNeeded, 1, 1) \
442 F(ObjectDefineProperties, 2, 1) \ 443 F(ObjectDefineProperties, 2, 1) \
443 F(ObjectDefineProperty, 3, 1) \ 444 F(ObjectDefineProperty, 3, 1) \
444 F(CreateDataProperty, 3, 1) 445 F(CreateDataProperty, 3, 1)
445 446
446 #define FOR_EACH_INTRINSIC_OBSERVE(F) \
447 F(IsObserved, 1, 1) \
448 F(SetIsObserved, 1, 1) \
449 F(EnqueueMicrotask, 1, 1) \
450 F(RunMicrotasks, 0, 1) \
451 F(DeliverObservationChangeRecords, 2, 1) \
452 F(GetObservationState, 0, 1) \
453 F(ObserverObjectAndRecordHaveSameOrigin, 3, 1) \
454 F(ObjectWasCreatedInCurrentOrigin, 1, 1) \
455 F(GetObjectContextObjectObserve, 1, 1) \
456 F(GetObjectContextObjectGetNotifier, 1, 1) \
457 F(GetObjectContextNotifierPerformChange, 1, 1)
458
459 #define FOR_EACH_INTRINSIC_OPERATORS(F) \ 447 #define FOR_EACH_INTRINSIC_OPERATORS(F) \
460 F(Multiply, 2, 1) \ 448 F(Multiply, 2, 1) \
461 F(Divide, 2, 1) \ 449 F(Divide, 2, 1) \
462 F(Modulus, 2, 1) \ 450 F(Modulus, 2, 1) \
463 F(Add, 2, 1) \ 451 F(Add, 2, 1) \
464 F(Subtract, 2, 1) \ 452 F(Subtract, 2, 1) \
465 F(ShiftLeft, 2, 1) \ 453 F(ShiftLeft, 2, 1) \
466 F(ShiftRight, 2, 1) \ 454 F(ShiftRight, 2, 1) \
467 F(ShiftRightLogical, 2, 1) \ 455 F(ShiftRightLogical, 2, 1) \
468 F(BitwiseAnd, 2, 1) \ 456 F(BitwiseAnd, 2, 1) \
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 FOR_EACH_INTRINSIC_FUTEX(F) \ 1001 FOR_EACH_INTRINSIC_FUTEX(F) \
1014 FOR_EACH_INTRINSIC_GENERATOR(F) \ 1002 FOR_EACH_INTRINSIC_GENERATOR(F) \
1015 FOR_EACH_INTRINSIC_I18N(F) \ 1003 FOR_EACH_INTRINSIC_I18N(F) \
1016 FOR_EACH_INTRINSIC_INTERNAL(F) \ 1004 FOR_EACH_INTRINSIC_INTERNAL(F) \
1017 FOR_EACH_INTRINSIC_JSON(F) \ 1005 FOR_EACH_INTRINSIC_JSON(F) \
1018 FOR_EACH_INTRINSIC_LITERALS(F) \ 1006 FOR_EACH_INTRINSIC_LITERALS(F) \
1019 FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 1007 FOR_EACH_INTRINSIC_LIVEEDIT(F) \
1020 FOR_EACH_INTRINSIC_MATHS(F) \ 1008 FOR_EACH_INTRINSIC_MATHS(F) \
1021 FOR_EACH_INTRINSIC_NUMBERS(F) \ 1009 FOR_EACH_INTRINSIC_NUMBERS(F) \
1022 FOR_EACH_INTRINSIC_OBJECT(F) \ 1010 FOR_EACH_INTRINSIC_OBJECT(F) \
1023 FOR_EACH_INTRINSIC_OBSERVE(F) \
1024 FOR_EACH_INTRINSIC_OPERATORS(F) \ 1011 FOR_EACH_INTRINSIC_OPERATORS(F) \
1025 FOR_EACH_INTRINSIC_PROXY(F) \ 1012 FOR_EACH_INTRINSIC_PROXY(F) \
1026 FOR_EACH_INTRINSIC_REGEXP(F) \ 1013 FOR_EACH_INTRINSIC_REGEXP(F) \
1027 FOR_EACH_INTRINSIC_SCOPES(F) \ 1014 FOR_EACH_INTRINSIC_SCOPES(F) \
1028 FOR_EACH_INTRINSIC_SIMD(F) \ 1015 FOR_EACH_INTRINSIC_SIMD(F) \
1029 FOR_EACH_INTRINSIC_STRINGS(F) \ 1016 FOR_EACH_INTRINSIC_STRINGS(F) \
1030 FOR_EACH_INTRINSIC_SYMBOL(F) \ 1017 FOR_EACH_INTRINSIC_SYMBOL(F) \
1031 FOR_EACH_INTRINSIC_TEST(F) \ 1018 FOR_EACH_INTRINSIC_TEST(F) \
1032 FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 1019 FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
1033 FOR_EACH_INTRINSIC_URI(F) 1020 FOR_EACH_INTRINSIC_URI(F)
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 1171
1185 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1172 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1186 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1173 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1187 STATIC_ASSERT(LANGUAGE_END == 3); 1174 STATIC_ASSERT(LANGUAGE_END == 3);
1188 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1175 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1189 1176
1190 } // namespace internal 1177 } // namespace internal
1191 } // namespace v8 1178 } // namespace v8
1192 1179
1193 #endif // V8_RUNTIME_RUNTIME_H_ 1180 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime/runtime-collections.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698