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

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

Issue 1693513002: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips and mips64. 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/builtins.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 FastNewStrictArguments(Isolate* isolate);
98 99
99 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, 100 static Callable ArgumentsAccess(Isolate* isolate,
100 bool has_duplicate_parameters); 101 bool has_duplicate_parameters);
101 102
102 static Callable AllocateHeapNumber(Isolate* isolate); 103 static Callable AllocateHeapNumber(Isolate* isolate);
103 static Callable AllocateMutableHeapNumber(Isolate* isolate); 104 static Callable AllocateMutableHeapNumber(Isolate* isolate);
104 static Callable AllocateInNewSpace(Isolate* isolate); 105 static Callable AllocateInNewSpace(Isolate* isolate);
105 106
106 static Callable ArgumentAdaptor(Isolate* isolate); 107 static Callable ArgumentAdaptor(Isolate* isolate);
107 static Callable Call(Isolate* isolate, 108 static Callable Call(Isolate* isolate,
108 ConvertReceiverMode mode = ConvertReceiverMode::kAny); 109 ConvertReceiverMode mode = ConvertReceiverMode::kAny);
109 static Callable CallFunction( 110 static Callable CallFunction(
110 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 111 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
111 static Callable Construct(Isolate* isolate); 112 static Callable Construct(Isolate* isolate);
112 static Callable ConstructFunction(Isolate* isolate); 113 static Callable ConstructFunction(Isolate* isolate);
113 114
114 static Callable InterpreterPushArgsAndCall(Isolate* isolate); 115 static Callable InterpreterPushArgsAndCall(Isolate* isolate);
115 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 116 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
116 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 117 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
117 }; 118 };
118 119
119 } // namespace internal 120 } // namespace internal
120 } // namespace v8 121 } // namespace v8
121 122
122 #endif // V8_CODE_FACTORY_H_ 123 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698