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

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

Issue 2950773002: [turbofan] Introduce new JSCallWithArrayLike operator. (Closed)
Patch Set: Created 3 years, 6 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
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/callable.h" 10 #include "src/callable.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 static Callable FastNewFunctionContext(Isolate* isolate, 83 static Callable FastNewFunctionContext(Isolate* isolate,
84 ScopeType scope_type); 84 ScopeType scope_type);
85 85
86 static Callable AllocateHeapNumber(Isolate* isolate); 86 static Callable AllocateHeapNumber(Isolate* isolate);
87 87
88 static Callable ArgumentAdaptor(Isolate* isolate); 88 static Callable ArgumentAdaptor(Isolate* isolate);
89 static Callable Call(Isolate* isolate, 89 static Callable Call(Isolate* isolate,
90 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 90 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
91 TailCallMode tail_call_mode = TailCallMode::kDisallow); 91 TailCallMode tail_call_mode = TailCallMode::kDisallow);
92 static Callable CallWithArrayLike(Isolate* isolate);
92 static Callable CallWithSpread(Isolate* isolate); 93 static Callable CallWithSpread(Isolate* isolate);
93 static Callable CallFunction( 94 static Callable CallFunction(
94 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, 95 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny,
95 TailCallMode tail_call_mode = TailCallMode::kDisallow); 96 TailCallMode tail_call_mode = TailCallMode::kDisallow);
96 static Callable CallVarargs(Isolate* isolate); 97 static Callable CallVarargs(Isolate* isolate);
97 static Callable CallForwardVarargs(Isolate* isolate); 98 static Callable CallForwardVarargs(Isolate* isolate);
98 static Callable CallFunctionForwardVarargs(Isolate* isolate); 99 static Callable CallFunctionForwardVarargs(Isolate* isolate);
99 static Callable Construct(Isolate* isolate); 100 static Callable Construct(Isolate* isolate);
100 static Callable ConstructWithSpread(Isolate* isolate); 101 static Callable ConstructWithSpread(Isolate* isolate);
101 static Callable ConstructFunction(Isolate* isolate); 102 static Callable ConstructFunction(Isolate* isolate);
(...skipping 15 matching lines...) Expand all
117 static Callable ArrayPop(Isolate* isolate); 118 static Callable ArrayPop(Isolate* isolate);
118 static Callable ArrayPush(Isolate* isolate); 119 static Callable ArrayPush(Isolate* isolate);
119 static Callable ArrayShift(Isolate* isolate); 120 static Callable ArrayShift(Isolate* isolate);
120 static Callable FunctionPrototypeBind(Isolate* isolate); 121 static Callable FunctionPrototypeBind(Isolate* isolate);
121 }; 122 };
122 123
123 } // namespace internal 124 } // namespace internal
124 } // namespace v8 125 } // namespace v8
125 126
126 #endif // V8_CODE_FACTORY_H_ 127 #endif // V8_CODE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698