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

Side by Side Diff: src/builtins.h

Issue 1359583002: [builtins] Add support for NewTarget to Execution::New. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Merge mips and mips64 ports. Created 5 years, 3 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/arm64/simulator-arm64.cc ('k') | src/execution.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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \ 70 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \
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) \
81 V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
82 \
80 V(PushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 83 V(PushArgsAndCall, BUILTIN, UNINITIALIZED, kNoExtraICState) \
81 \ 84 \
82 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 85 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \
83 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 86 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \
84 V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 87 V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \
85 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 88 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \
86 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 89 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
87 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 90 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
88 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 91 V(InterpreterEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
89 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 92 V(InterpreterExitTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 272 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
270 static void Generate_NotifyStubFailure(MacroAssembler* masm); 273 static void Generate_NotifyStubFailure(MacroAssembler* masm);
271 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); 274 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm);
272 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 275 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
273 276
274 // ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList) 277 // ES6 section 9.2.1 [[Call]] ( thisArgument, argumentsList)
275 static void Generate_CallFunction(MacroAssembler* masm); 278 static void Generate_CallFunction(MacroAssembler* masm);
276 // ES6 section 7.3.12 Call(F, V, [argumentsList]) 279 // ES6 section 7.3.12 Call(F, V, [argumentsList])
277 static void Generate_Call(MacroAssembler* masm); 280 static void Generate_Call(MacroAssembler* masm);
278 281
282 // ES6 section 9.2.2 [[Construct]] ( argumentsList, newTarget)
283 static void Generate_ConstructFunction(MacroAssembler* masm);
284 // ES6 section 7.3.13 Construct (F, [argumentsList], [newTarget])
285 static void Generate_Construct(MacroAssembler* masm);
286
279 static void Generate_PushArgsAndCall(MacroAssembler* masm); 287 static void Generate_PushArgsAndCall(MacroAssembler* masm);
280 288
281 static void Generate_FunctionCall(MacroAssembler* masm); 289 static void Generate_FunctionCall(MacroAssembler* masm);
282 static void Generate_FunctionApply(MacroAssembler* masm); 290 static void Generate_FunctionApply(MacroAssembler* masm);
283 static void Generate_ReflectApply(MacroAssembler* masm); 291 static void Generate_ReflectApply(MacroAssembler* masm);
284 static void Generate_ReflectConstruct(MacroAssembler* masm); 292 static void Generate_ReflectConstruct(MacroAssembler* masm);
285 293
286 static void Generate_InternalArrayCode(MacroAssembler* masm); 294 static void Generate_InternalArrayCode(MacroAssembler* masm);
287 static void Generate_ArrayCode(MacroAssembler* masm); 295 static void Generate_ArrayCode(MacroAssembler* masm);
288 296
(...skipping 22 matching lines...) Expand all
311 319
312 friend class BuiltinFunctionTable; 320 friend class BuiltinFunctionTable;
313 friend class Isolate; 321 friend class Isolate;
314 322
315 DISALLOW_COPY_AND_ASSIGN(Builtins); 323 DISALLOW_COPY_AND_ASSIGN(Builtins);
316 }; 324 };
317 325
318 } } // namespace v8::internal 326 } } // namespace v8::internal
319 327
320 #endif // V8_BUILTINS_H_ 328 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.cc ('k') | src/execution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698