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

Side by Side Diff: src/builtins.h

Issue 1910253005: [api] Expose FunctionCallbackInfo::NewTarget (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 V(ReflectIsExtensible, kNone) \ 154 V(ReflectIsExtensible, kNone) \
155 V(ReflectOwnKeys, kNone) \ 155 V(ReflectOwnKeys, kNone) \
156 V(ReflectPreventExtensions, kNone) \ 156 V(ReflectPreventExtensions, kNone) \
157 V(ReflectSet, kNone) \ 157 V(ReflectSet, kNone) \
158 V(ReflectSetPrototypeOf, kNone) \ 158 V(ReflectSetPrototypeOf, kNone) \
159 \ 159 \
160 V(SymbolConstructor, kNone) \ 160 V(SymbolConstructor, kNone) \
161 V(SymbolConstructor_ConstructStub, kTarget) \ 161 V(SymbolConstructor_ConstructStub, kTarget) \
162 \ 162 \
163 V(HandleApiCall, kTarget) \ 163 V(HandleApiCall, kTarget) \
164 V(HandleApiCallConstruct, kTarget) \ 164 V(HandleApiCallConstruct, kTargetAndNewTarget) \
Benedikt Meurer 2016/04/23 11:57:47 This is not sufficient, as the callsite is custom
Benedikt Meurer 2016/04/23 18:21:45 Actually this is nonsense. The JSConstructStubHelp
adamk 2016/04/25 22:59:55 Yup, this seems to work just fine.
165 V(HandleApiCallAsFunction, kNone) \ 165 V(HandleApiCallAsFunction, kNone) \
166 V(HandleApiCallAsConstructor, kNone) \ 166 V(HandleApiCallAsConstructor, kNone) \
167 \ 167 \
168 V(RestrictedFunctionPropertiesThrower, kNone) \ 168 V(RestrictedFunctionPropertiesThrower, kNone) \
169 V(RestrictedStrictArgumentsPropertiesThrower, kNone) 169 V(RestrictedStrictArgumentsPropertiesThrower, kNone)
170 170
171 // Define list of builtins implemented in assembly. 171 // Define list of builtins implemented in assembly.
172 #define BUILTIN_LIST_A(V) \ 172 #define BUILTIN_LIST_A(V) \
173 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 173 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
174 \ 174 \
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 friend class BuiltinFunctionTable; 673 friend class BuiltinFunctionTable;
674 friend class Isolate; 674 friend class Isolate;
675 675
676 DISALLOW_COPY_AND_ASSIGN(Builtins); 676 DISALLOW_COPY_AND_ASSIGN(Builtins);
677 }; 677 };
678 678
679 } // namespace internal 679 } // namespace internal
680 } // namespace v8 680 } // namespace v8
681 681
682 #endif // V8_BUILTINS_H_ 682 #endif // V8_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698