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

Side by Side Diff: src/builtins.h

Issue 1213623020: Remove separate construct stub for new.target users. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ported to all architectures. Created 5 years, 5 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/builtins-arm64.cc ('k') | src/compiler.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 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 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \ 63 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \
64 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS) 64 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS)
65 65
66 // Define list of builtins implemented in assembly. 66 // Define list of builtins implemented in assembly.
67 #define BUILTIN_LIST_A(V) \ 67 #define BUILTIN_LIST_A(V) \
68 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 68 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
69 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 69 V(InOptimizationQueue, BUILTIN, UNINITIALIZED, kNoExtraICState) \
70 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 70 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED, kNoExtraICState) \
71 V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 71 V(JSConstructStubForDerived, BUILTIN, UNINITIALIZED, kNoExtraICState) \
72 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 72 V(JSConstructStubApi, BUILTIN, UNINITIALIZED, kNoExtraICState) \
73 V(JSConstructStubNewTarget, BUILTIN, UNINITIALIZED, kNoExtraICState) \
74 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 73 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
75 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 74 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED, kNoExtraICState) \
76 V(CompileLazy, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 75 V(CompileLazy, BUILTIN, UNINITIALIZED, kNoExtraICState) \
77 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 76 V(CompileOptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
78 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 77 V(CompileOptimizedConcurrent, BUILTIN, UNINITIALIZED, kNoExtraICState) \
79 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 78 V(NotifyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
80 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 79 V(NotifySoftDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
81 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 80 V(NotifyLazyDeoptimized, BUILTIN, UNINITIALIZED, kNoExtraICState) \
82 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 81 V(NotifyStubFailure, BUILTIN, UNINITIALIZED, kNoExtraICState) \
83 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \ 82 V(NotifyStubFailureSaveDoubles, BUILTIN, UNINITIALIZED, kNoExtraICState) \
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 static void Generate_Adaptor(MacroAssembler* masm, 309 static void Generate_Adaptor(MacroAssembler* masm,
311 CFunctionId id, 310 CFunctionId id,
312 BuiltinExtraArguments extra_args); 311 BuiltinExtraArguments extra_args);
313 static void Generate_CompileLazy(MacroAssembler* masm); 312 static void Generate_CompileLazy(MacroAssembler* masm);
314 static void Generate_InOptimizationQueue(MacroAssembler* masm); 313 static void Generate_InOptimizationQueue(MacroAssembler* masm);
315 static void Generate_CompileOptimized(MacroAssembler* masm); 314 static void Generate_CompileOptimized(MacroAssembler* masm);
316 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); 315 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm);
317 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); 316 static void Generate_JSConstructStubGeneric(MacroAssembler* masm);
318 static void Generate_JSConstructStubForDerived(MacroAssembler* masm); 317 static void Generate_JSConstructStubForDerived(MacroAssembler* masm);
319 static void Generate_JSConstructStubApi(MacroAssembler* masm); 318 static void Generate_JSConstructStubApi(MacroAssembler* masm);
320 static void Generate_JSConstructStubNewTarget(MacroAssembler* masm);
321 static void Generate_JSEntryTrampoline(MacroAssembler* masm); 319 static void Generate_JSEntryTrampoline(MacroAssembler* masm);
322 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); 320 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm);
323 static void Generate_NotifyDeoptimized(MacroAssembler* masm); 321 static void Generate_NotifyDeoptimized(MacroAssembler* masm);
324 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm); 322 static void Generate_NotifySoftDeoptimized(MacroAssembler* masm);
325 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm); 323 static void Generate_NotifyLazyDeoptimized(MacroAssembler* masm);
326 static void Generate_NotifyStubFailure(MacroAssembler* masm); 324 static void Generate_NotifyStubFailure(MacroAssembler* masm);
327 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm); 325 static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm);
328 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 326 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
329 327
330 static void Generate_FunctionCall(MacroAssembler* masm); 328 static void Generate_FunctionCall(MacroAssembler* masm);
(...skipping 28 matching lines...) Expand all
359 357
360 friend class BuiltinFunctionTable; 358 friend class BuiltinFunctionTable;
361 friend class Isolate; 359 friend class Isolate;
362 360
363 DISALLOW_COPY_AND_ASSIGN(Builtins); 361 DISALLOW_COPY_AND_ASSIGN(Builtins);
364 }; 362 };
365 363
366 } } // namespace v8::internal 364 } } // namespace v8::internal
367 365
368 #endif // V8_BUILTINS_H_ 366 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698