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

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

Issue 1467473002: Install ConstructNonConstructable as construct stub for non-constructables. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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/prettyprinter.cc ('k') | src/runtime/runtime-classes.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/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 F(AtomicsIsLockFree, 1, 1) 66 F(AtomicsIsLockFree, 1, 1)
67 67
68 68
69 #define FOR_EACH_INTRINSIC_FUTEX(F) \ 69 #define FOR_EACH_INTRINSIC_FUTEX(F) \
70 F(AtomicsFutexWait, 4, 1) \ 70 F(AtomicsFutexWait, 4, 1) \
71 F(AtomicsFutexWake, 3, 1) \ 71 F(AtomicsFutexWake, 3, 1) \
72 F(AtomicsFutexWakeOrRequeue, 5, 1) \ 72 F(AtomicsFutexWakeOrRequeue, 5, 1) \
73 F(AtomicsFutexNumWaitersForTesting, 2, 1) 73 F(AtomicsFutexNumWaitersForTesting, 2, 1)
74 74
75 75
76 #define FOR_EACH_INTRINSIC_CLASSES(F) \ 76 #define FOR_EACH_INTRINSIC_CLASSES(F) \
77 F(ThrowNonMethodError, 0, 1) \ 77 F(ThrowNonMethodError, 0, 1) \
78 F(ThrowUnsupportedSuperError, 0, 1) \ 78 F(ThrowUnsupportedSuperError, 0, 1) \
79 F(ThrowConstructorNonCallableError, 0, 1) \ 79 F(ThrowConstructorNonCallableError, 1, 1) \
80 F(ThrowArrayNotSubclassableError, 0, 1) \ 80 F(ThrowArrayNotSubclassableError, 0, 1) \
81 F(ThrowStaticPrototypeError, 0, 1) \ 81 F(ThrowStaticPrototypeError, 0, 1) \
82 F(ThrowIfStaticPrototype, 1, 1) \ 82 F(ThrowIfStaticPrototype, 1, 1) \
83 F(HomeObjectSymbol, 0, 1) \ 83 F(HomeObjectSymbol, 0, 1) \
84 F(DefineClass, 5, 1) \ 84 F(DefineClass, 5, 1) \
85 F(FinalizeClassDefinition, 2, 1) \ 85 F(FinalizeClassDefinition, 2, 1) \
86 F(DefineClassMethod, 3, 1) \ 86 F(DefineClassMethod, 3, 1) \
87 F(ClassGetSourceCode, 1, 1) \ 87 F(ClassGetSourceCode, 1, 1) \
88 F(LoadFromSuper, 4, 1) \ 88 F(LoadFromSuper, 4, 1) \
89 F(LoadKeyedFromSuper, 4, 1) \ 89 F(LoadKeyedFromSuper, 4, 1) \
90 F(StoreToSuper_Strict, 4, 1) \ 90 F(StoreToSuper_Strict, 4, 1) \
91 F(StoreToSuper_Sloppy, 4, 1) \ 91 F(StoreToSuper_Sloppy, 4, 1) \
92 F(StoreKeyedToSuper_Strict, 4, 1) \ 92 F(StoreKeyedToSuper_Strict, 4, 1) \
93 F(StoreKeyedToSuper_Sloppy, 4, 1) \ 93 F(StoreKeyedToSuper_Sloppy, 4, 1) \
94 F(DefaultConstructorCallSuper, 2, 1) 94 F(DefaultConstructorCallSuper, 2, 1)
95 95
96 96
97 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ 97 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \
98 F(StringGetRawHashField, 1, 1) \ 98 F(StringGetRawHashField, 1, 1) \
99 F(TheHole, 0, 1) \ 99 F(TheHole, 0, 1) \
100 F(JSCollectionGetTable, 1, 1) \ 100 F(JSCollectionGetTable, 1, 1) \
101 F(GenericHash, 1, 1) \ 101 F(GenericHash, 1, 1) \
102 F(SetInitialize, 1, 1) \ 102 F(SetInitialize, 1, 1) \
103 F(SetGrow, 1, 1) \ 103 F(SetGrow, 1, 1) \
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 F(CallSiteIsNativeRT, 1, 1) \ 349 F(CallSiteIsNativeRT, 1, 1) \
350 F(CallSiteIsToplevelRT, 1, 1) \ 350 F(CallSiteIsToplevelRT, 1, 1) \
351 F(CallSiteIsEvalRT, 1, 1) \ 351 F(CallSiteIsEvalRT, 1, 1) \
352 F(CallSiteIsConstructorRT, 1, 1) \ 352 F(CallSiteIsConstructorRT, 1, 1) \
353 F(IS_VAR, 1, 1) \ 353 F(IS_VAR, 1, 1) \
354 F(IncrementStatsCounter, 1, 1) \ 354 F(IncrementStatsCounter, 1, 1) \
355 F(HarmonyToString, 0, 1) \ 355 F(HarmonyToString, 0, 1) \
356 F(GetTypeFeedbackVector, 1, 1) \ 356 F(GetTypeFeedbackVector, 1, 1) \
357 F(GetCallerJSFunction, 0, 1) \ 357 F(GetCallerJSFunction, 0, 1) \
358 F(GetCodeStubExportsObject, 0, 1) \ 358 F(GetCodeStubExportsObject, 0, 1) \
359 F(ThrowConstructedNonConstructable, 1, 1) \
359 F(ThrowCalledNonCallable, 1, 1) 360 F(ThrowCalledNonCallable, 1, 1)
360 361
361 362
362 #define FOR_EACH_INTRINSIC_JSON(F) \ 363 #define FOR_EACH_INTRINSIC_JSON(F) \
363 F(QuoteJSONString, 1, 1) \ 364 F(QuoteJSONString, 1, 1) \
364 F(BasicJSONStringify, 1, 1) \ 365 F(BasicJSONStringify, 1, 1) \
365 F(ParseJson, 1, 1) 366 F(ParseJson, 1, 1)
366 367
367 368
368 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 369 #define FOR_EACH_INTRINSIC_LITERALS(F) \
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 1263
1263 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1264 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1264 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1265 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1265 STATIC_ASSERT(LANGUAGE_END == 3); 1266 STATIC_ASSERT(LANGUAGE_END == 3);
1266 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1267 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1267 1268
1268 } // namespace internal 1269 } // namespace internal
1269 } // namespace v8 1270 } // namespace v8
1270 1271
1271 #endif // V8_RUNTIME_RUNTIME_H_ 1272 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/prettyprinter.cc ('k') | src/runtime/runtime-classes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698