| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 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 | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #ifndef V8_COMPILER_OPERATOR_PROPERTIES_H_ | 
|  | 6 #define V8_COMPILER_OPERATOR_PROPERTIES_H_ | 
|  | 7 | 
|  | 8 #include "src/v8.h" | 
|  | 9 | 
|  | 10 namespace v8 { | 
|  | 11 namespace internal { | 
|  | 12 namespace compiler { | 
|  | 13 | 
|  | 14 class Operator; | 
|  | 15 | 
|  | 16 class OperatorProperties { | 
|  | 17  public: | 
|  | 18   static int GetValueOutputCount(Operator* op); | 
|  | 19   static int GetValueInputCount(Operator* op); | 
|  | 20   static bool HasContextInput(Operator* op); | 
|  | 21   static int GetEffectInputCount(Operator* op); | 
|  | 22   static int GetControlInputCount(Operator* op); | 
|  | 23 | 
|  | 24   static bool IsBasicBlockBegin(Operator* op); | 
|  | 25 | 
|  | 26   static bool CanBeScheduled(Operator* op); | 
|  | 27   static bool HasFixedSchedulePosition(Operator* op); | 
|  | 28   static bool IsScheduleRoot(Operator* op); | 
|  | 29 | 
|  | 30   static bool CanLazilyDeoptimize(Operator* op); | 
|  | 31 }; | 
|  | 32 } | 
|  | 33 } | 
|  | 34 }  // namespace v8::internal::compiler | 
|  | 35 | 
|  | 36 #endif  // V8_COMPILER_OPERATOR_PROPERTIES_H_ | 
| OLD | NEW | 
|---|