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

Side by Side Diff: src/code-factory.h

Issue 1701653002: Revert of [runtime] Turn ArgumentAccessStub into FastNewSloppyArgumentsStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/interface-descriptors-arm64.cc ('k') | src/code-factory.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_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 static Callable Typeof(Isolate* isolate); 88 static Callable Typeof(Isolate* isolate);
89 89
90 static Callable FastCloneRegExp(Isolate* isolate); 90 static Callable FastCloneRegExp(Isolate* isolate);
91 static Callable FastCloneShallowArray(Isolate* isolate); 91 static Callable FastCloneShallowArray(Isolate* isolate);
92 static Callable FastCloneShallowObject(Isolate* isolate, int length); 92 static Callable FastCloneShallowObject(Isolate* isolate, int length);
93 93
94 static Callable FastNewContext(Isolate* isolate, int slot_count); 94 static Callable FastNewContext(Isolate* isolate, int slot_count);
95 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, 95 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode,
96 FunctionKind kind); 96 FunctionKind kind);
97 static Callable FastNewRestParameter(Isolate* isolate); 97 static Callable FastNewRestParameter(Isolate* isolate);
98 static Callable FastNewSloppyArguments(Isolate* isolate);
99 static Callable FastNewStrictArguments(Isolate* isolate); 98 static Callable FastNewStrictArguments(Isolate* isolate);
100 99
100 static Callable ArgumentsAccess(Isolate* isolate,
101 bool has_duplicate_parameters);
102
101 static Callable AllocateHeapNumber(Isolate* isolate); 103 static Callable AllocateHeapNumber(Isolate* isolate);
102 static Callable AllocateMutableHeapNumber(Isolate* isolate); 104 static Callable AllocateMutableHeapNumber(Isolate* isolate);
103 static Callable AllocateInNewSpace(Isolate* isolate); 105 static Callable AllocateInNewSpace(Isolate* isolate);
104 106
105 static Callable ArgumentAdaptor(Isolate* isolate); 107 static Callable ArgumentAdaptor(Isolate* isolate);
106 static Callable Call(Isolate* isolate, 108 static Callable Call(Isolate* isolate,
107 ConvertReceiverMode mode = ConvertReceiverMode::kAny); 109 ConvertReceiverMode mode = ConvertReceiverMode::kAny);
108 static Callable CallFunction( 110 static Callable CallFunction(
109 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 111 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
110 static Callable Construct(Isolate* isolate); 112 static Callable Construct(Isolate* isolate);
111 static Callable ConstructFunction(Isolate* isolate); 113 static Callable ConstructFunction(Isolate* isolate);
112 114
113 static Callable InterpreterPushArgsAndCall(Isolate* isolate); 115 static Callable InterpreterPushArgsAndCall(Isolate* isolate);
114 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 116 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
115 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 117 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
116 }; 118 };
117 119
118 } // namespace internal 120 } // namespace internal
119 } // namespace v8 121 } // namespace v8
120 122
121 #endif // V8_CODE_FACTORY_H_ 123 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/arm64/interface-descriptors-arm64.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698