| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/compiler/machine-type.h" | 8 #include "src/compiler/machine-type.h" |
| 9 #include "src/unique.h" | 9 #include "src/unique.h" |
| 10 | 10 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 const Operator* EffectSet(int arguments); | 225 const Operator* EffectSet(int arguments); |
| 226 const Operator* ValueEffect(int arguments); | 226 const Operator* ValueEffect(int arguments); |
| 227 const Operator* Finish(int arguments); | 227 const Operator* Finish(int arguments); |
| 228 const Operator* StateValues(int arguments); | 228 const Operator* StateValues(int arguments); |
| 229 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); | 229 const Operator* TypedStateValues(const ZoneVector<MachineType>* types); |
| 230 const Operator* FrameState( | 230 const Operator* FrameState( |
| 231 FrameStateType type, BailoutId bailout_id, | 231 FrameStateType type, BailoutId bailout_id, |
| 232 OutputFrameStateCombine state_combine, | 232 OutputFrameStateCombine state_combine, |
| 233 MaybeHandle<JSFunction> jsfunction = MaybeHandle<JSFunction>()); | 233 MaybeHandle<JSFunction> jsfunction = MaybeHandle<JSFunction>()); |
| 234 const Operator* Call(const CallDescriptor* descriptor); | 234 const Operator* Call(const CallDescriptor* descriptor); |
| 235 const Operator* TailCall(const CallDescriptor* descriptor); |
| 235 const Operator* Projection(size_t index); | 236 const Operator* Projection(size_t index); |
| 236 | 237 |
| 237 // Constructs a new merge or phi operator with the same opcode as {op}, but | 238 // Constructs a new merge or phi operator with the same opcode as {op}, but |
| 238 // with {size} inputs. | 239 // with {size} inputs. |
| 239 const Operator* ResizeMergeOrPhi(const Operator* op, int size); | 240 const Operator* ResizeMergeOrPhi(const Operator* op, int size); |
| 240 | 241 |
| 241 private: | 242 private: |
| 242 Zone* zone() const { return zone_; } | 243 Zone* zone() const { return zone_; } |
| 243 | 244 |
| 244 const CommonOperatorGlobalCache& cache_; | 245 const CommonOperatorGlobalCache& cache_; |
| 245 Zone* const zone_; | 246 Zone* const zone_; |
| 246 | 247 |
| 247 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); | 248 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); |
| 248 }; | 249 }; |
| 249 | 250 |
| 250 } // namespace compiler | 251 } // namespace compiler |
| 251 } // namespace internal | 252 } // namespace internal |
| 252 } // namespace v8 | 253 } // namespace v8 |
| 253 | 254 |
| 254 #endif // V8_COMPILER_COMMON_OPERATOR_H_ | 255 #endif // V8_COMPILER_COMMON_OPERATOR_H_ |
| OLD | NEW |