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

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

Issue 1557883002: Optimized TurboFan support for rest args. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code comments, unit tests. Created 4 years, 11 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 | « no previous file | 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 static Callable FastCloneRegExp(Isolate* isolate); 87 static Callable FastCloneRegExp(Isolate* isolate);
88 static Callable FastCloneShallowArray(Isolate* isolate); 88 static Callable FastCloneShallowArray(Isolate* isolate);
89 static Callable FastCloneShallowObject(Isolate* isolate, int length); 89 static Callable FastCloneShallowObject(Isolate* isolate, int length);
90 90
91 static Callable FastNewContext(Isolate* isolate, int slot_count); 91 static Callable FastNewContext(Isolate* isolate, int slot_count);
92 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode, 92 static Callable FastNewClosure(Isolate* isolate, LanguageMode language_mode,
93 FunctionKind kind); 93 FunctionKind kind);
94 94
95 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments, 95 static Callable ArgumentsAccess(Isolate* isolate, bool is_unmapped_arguments,
96 bool has_duplicate_parameters); 96 bool has_duplicate_parameters);
97 static Callable RestArgumentsAccess(Isolate* isolate);
97 98
98 static Callable AllocateHeapNumber(Isolate* isolate); 99 static Callable AllocateHeapNumber(Isolate* isolate);
99 static Callable AllocateMutableHeapNumber(Isolate* isolate); 100 static Callable AllocateMutableHeapNumber(Isolate* isolate);
100 static Callable AllocateInNewSpace(Isolate* isolate); 101 static Callable AllocateInNewSpace(Isolate* isolate);
101 102
102 static Callable ArgumentAdaptor(Isolate* isolate); 103 static Callable ArgumentAdaptor(Isolate* isolate);
103 static Callable Call(Isolate* isolate, 104 static Callable Call(Isolate* isolate,
104 ConvertReceiverMode mode = ConvertReceiverMode::kAny); 105 ConvertReceiverMode mode = ConvertReceiverMode::kAny);
105 static Callable CallFunction( 106 static Callable CallFunction(
106 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 107 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
107 static Callable Construct(Isolate* isolate); 108 static Callable Construct(Isolate* isolate);
108 static Callable ConstructFunction(Isolate* isolate); 109 static Callable ConstructFunction(Isolate* isolate);
109 110
110 static Callable InterpreterPushArgsAndCall(Isolate* isolate); 111 static Callable InterpreterPushArgsAndCall(Isolate* isolate);
111 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 112 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
112 static Callable InterpreterCEntry(Isolate* isolate); 113 static Callable InterpreterCEntry(Isolate* isolate);
113 }; 114 };
114 115
115 } // namespace internal 116 } // namespace internal
116 } // namespace v8 117 } // namespace v8
117 118
118 #endif // V8_CODE_FACTORY_H_ 119 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698