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

Side by Side Diff: src/builtins.h

Issue 1360403002: Revert of [es6] Introduce spec compliant IsConstructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/bootstrapper.cc ('k') | src/contexts.h » ('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 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/handles.h" 8 #include "src/handles.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS) 71 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS)
72 72
73 // Define list of builtins implemented in assembly. 73 // Define list of builtins implemented in assembly.
74 #define BUILTIN_LIST_A(V) \ 74 #define BUILTIN_LIST_A(V) \
75 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 75 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
76 \ 76 \
77 V(CallFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 77 V(CallFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \
78 V(Call, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 78 V(Call, BUILTIN, UNINITIALIZED, kNoExtraICState) \
79 \ 79 \
80 V(ConstructFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 80 V(ConstructFunction, BUILTIN, UNINITIALIZED, kNoExtraICState) \
81 V(ConstructProxy, BUILTIN, UNINITIALIZED, kNoExtraICState) \
82 V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 81 V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
83 \ 82 \
84 V(PushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 83 V(PushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
85 \ 84 \
86 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 85 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \
87 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 86 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \
88 V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 87 V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \
89 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 88 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \
90 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 89 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
91 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 90 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); 274 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm);
276 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 275 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
277 276
278 // ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) 277 // ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList)
279 static void Generate_CallFunction(MacroAssembler* masm); 278 static void Generate_CallFunction(MacroAssembler* masm);
280 // ES6 section 7.3.12 Call(F, V, [argumentsList]) 279 // ES6 section 7.3.12 Call(F, V, [argumentsList])
281 static void Generate_Call(MacroAssembler* masm); 280 static void Generate_Call(MacroAssembler* masm);
282 281
283 // ES6 section 9.2.2 [[Construct]] ( argumentsList, newTarget) 282 // ES6 section 9.2.2 [[Construct]] ( argumentsList, newTarget)
284 static void Generate_ConstructFunction(MacroAssembler* masm); 283 static void Generate_ConstructFunction(MacroAssembler* masm);
285 // ES6 section 9.5.14 [[Construct]] ( argumentsList, newTarget)
286 static void Generate_ConstructProxy(MacroAssembler* masm);
287 // ES6 section 7.3.13 Construct (F, [argumentsList], [newTarget]) 284 // ES6 section 7.3.13 Construct (F, [argumentsList], [newTarget])
288 static void Generate_Construct(MacroAssembler* masm); 285 static void Generate_Construct(MacroAssembler* masm);
289 286
290 static void Generate_PushArgsAndCall(MacroAssembler* masm); 287 static void Generate_PushArgsAndCall(MacroAssembler* masm);
291 288
292 static void Generate_FunctionCall(MacroAssembler* masm); 289 static void Generate_FunctionCall(MacroAssembler* masm);
293 static void Generate_FunctionApply(MacroAssembler* masm); 290 static void Generate_FunctionApply(MacroAssembler* masm);
294 static void Generate_ReflectApply(MacroAssembler* masm); 291 static void Generate_ReflectApply(MacroAssembler* masm);
295 static void Generate_ReflectConstruct(MacroAssembler* masm); 292 static void Generate_ReflectConstruct(MacroAssembler* masm);
296 293
(...skipping 25 matching lines...) Expand all
322 319
323 friend class BuiltinFunctionTable; 320 friend class BuiltinFunctionTable;
324 friend class Isolate; 321 friend class Isolate;
325 322
326 DISALLOW_COPY_AND_ASSIGN(Builtins); 323 DISALLOW_COPY_AND_ASSIGN(Builtins);
327 }; 324 };
328 325
329 } } // namespace v8::internal 326 } } // namespace v8::internal
330 327
331 #endif // V8_BUILTINS_H_ 328 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698