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

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

Issue 2218703003: [turbofan] Add support for copy-on-write element stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix off-by-one loop iteration count. Created 4 years, 4 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/builtins-internal.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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 static Callable FastNewFunctionContext(Isolate* isolate); 129 static Callable FastNewFunctionContext(Isolate* isolate);
130 static Callable FastNewClosure(Isolate* isolate); 130 static Callable FastNewClosure(Isolate* isolate);
131 static Callable FastNewObject(Isolate* isolate); 131 static Callable FastNewObject(Isolate* isolate);
132 static Callable FastNewRestParameter(Isolate* isolate, 132 static Callable FastNewRestParameter(Isolate* isolate,
133 bool skip_stub_frame = false); 133 bool skip_stub_frame = false);
134 static Callable FastNewSloppyArguments(Isolate* isolate, 134 static Callable FastNewSloppyArguments(Isolate* isolate,
135 bool skip_stub_frame = false); 135 bool skip_stub_frame = false);
136 static Callable FastNewStrictArguments(Isolate* isolate, 136 static Callable FastNewStrictArguments(Isolate* isolate,
137 bool skip_stub_frame = false); 137 bool skip_stub_frame = false);
138 138
139 static Callable CopyFixedArray(Isolate* isolate);
140
139 static Callable AllocateHeapNumber(Isolate* isolate); 141 static Callable AllocateHeapNumber(Isolate* isolate);
140 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ 142 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \
141 static Callable Allocate##Type(Isolate* isolate); 143 static Callable Allocate##Type(Isolate* isolate);
142 SIMD128_TYPES(SIMD128_ALLOC) 144 SIMD128_TYPES(SIMD128_ALLOC)
143 #undef SIMD128_ALLOC 145 #undef SIMD128_ALLOC
144 146
145 static Callable ArgumentAdaptor(Isolate* isolate); 147 static Callable ArgumentAdaptor(Isolate* isolate);
146 static Callable Call(Isolate* isolate, 148 static Callable Call(Isolate* isolate,
147 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 149 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
148 TailCallMode tail_call_mode = TailCallMode::kDisallow); 150 TailCallMode tail_call_mode = TailCallMode::kDisallow);
149 static Callable CallFunction( 151 static Callable CallFunction(
150 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny); 152 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny);
151 static Callable Construct(Isolate* isolate); 153 static Callable Construct(Isolate* isolate);
152 static Callable ConstructFunction(Isolate* isolate); 154 static Callable ConstructFunction(Isolate* isolate);
153 static Callable HasProperty(Isolate* isolate); 155 static Callable HasProperty(Isolate* isolate);
154 static Callable ForInFilter(Isolate* isolate); 156 static Callable ForInFilter(Isolate* isolate);
155 157
156 static Callable InterpreterPushArgsAndCall( 158 static Callable InterpreterPushArgsAndCall(
157 Isolate* isolate, TailCallMode tail_call_mode, 159 Isolate* isolate, TailCallMode tail_call_mode,
158 CallableType function_type = CallableType::kAny); 160 CallableType function_type = CallableType::kAny);
159 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate); 161 static Callable InterpreterPushArgsAndConstruct(Isolate* isolate);
160 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1); 162 static Callable InterpreterCEntry(Isolate* isolate, int result_size = 1);
161 static Callable InterpreterOnStackReplacement(Isolate* isolate); 163 static Callable InterpreterOnStackReplacement(Isolate* isolate);
162 }; 164 };
163 165
164 } // namespace internal 166 } // namespace internal
165 } // namespace v8 167 } // namespace v8
166 168
167 #endif // V8_CODE_FACTORY_H_ 169 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-internal.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698