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

Side by Side Diff: src/compiler/common-operator.h

Issue 2203693002: [turbofan] Introduce initial support for TypedArrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5254
Patch Set: Fix Retain 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/compiler/access-info.cc ('k') | src/compiler/common-operator.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_COMPILER_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/frame-states.h" 9 #include "src/compiler/frame-states.h"
10 #include "src/deoptimize-reason.h" 10 #include "src/deoptimize-reason.h"
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 const Operator* FinishRegion(); 241 const Operator* FinishRegion();
242 const Operator* StateValues(int arguments); 242 const Operator* StateValues(int arguments);
243 const Operator* ObjectState(int pointer_slots, int id); 243 const Operator* ObjectState(int pointer_slots, int id);
244 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); 244 const Operator* TypedStateValues(const ZoneVector<MachineType>* types);
245 const Operator* FrameState(BailoutId bailout_id, 245 const Operator* FrameState(BailoutId bailout_id,
246 OutputFrameStateCombine state_combine, 246 OutputFrameStateCombine state_combine,
247 const FrameStateFunctionInfo* function_info); 247 const FrameStateFunctionInfo* function_info);
248 const Operator* Call(const CallDescriptor* descriptor); 248 const Operator* Call(const CallDescriptor* descriptor);
249 const Operator* TailCall(const CallDescriptor* descriptor); 249 const Operator* TailCall(const CallDescriptor* descriptor);
250 const Operator* Projection(size_t index); 250 const Operator* Projection(size_t index);
251 const Operator* Retain();
251 252
252 // Constructs a new merge or phi operator with the same opcode as {op}, but 253 // Constructs a new merge or phi operator with the same opcode as {op}, but
253 // with {size} inputs. 254 // with {size} inputs.
254 const Operator* ResizeMergeOrPhi(const Operator* op, int size); 255 const Operator* ResizeMergeOrPhi(const Operator* op, int size);
255 256
256 // Constructs function info for frame state construction. 257 // Constructs function info for frame state construction.
257 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( 258 const FrameStateFunctionInfo* CreateFrameStateFunctionInfo(
258 FrameStateType type, int parameter_count, int local_count, 259 FrameStateType type, int parameter_count, int local_count,
259 Handle<SharedFunctionInfo> shared_info); 260 Handle<SharedFunctionInfo> shared_info);
260 261
261 private: 262 private:
262 Zone* zone() const { return zone_; } 263 Zone* zone() const { return zone_; }
263 264
264 const CommonOperatorGlobalCache& cache_; 265 const CommonOperatorGlobalCache& cache_;
265 Zone* const zone_; 266 Zone* const zone_;
266 267
267 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 268 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
268 }; 269 };
269 270
270 } // namespace compiler 271 } // namespace compiler
271 } // namespace internal 272 } // namespace internal
272 } // namespace v8 273 } // namespace v8
273 274
274 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 275 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/access-info.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698