Index: src/compiler/operator-properties.h |
diff --git a/src/compiler/operator-properties.h b/src/compiler/operator-properties.h |
index 01871937fd2c0b5979afea9829ecc70eb0435c7c..718eea0e2a716eec4849d74c9c53bf942e54e5d3 100644 |
--- a/src/compiler/operator-properties.h |
+++ b/src/compiler/operator-properties.h |
@@ -5,8 +5,6 @@ |
#ifndef V8_COMPILER_OPERATOR_PROPERTIES_H_ |
#define V8_COMPILER_OPERATOR_PROPERTIES_H_ |
-#include "src/v8.h" |
- |
namespace v8 { |
namespace internal { |
namespace compiler { |
@@ -15,31 +13,32 @@ class Operator; |
class OperatorProperties { |
public: |
- static inline bool HasValueInput(Operator* node); |
- static inline bool HasContextInput(Operator* node); |
- static inline bool HasEffectInput(Operator* node); |
- static inline bool HasControlInput(Operator* node); |
- static inline bool HasFrameStateInput(Operator* node); |
- |
- static inline int GetValueInputCount(Operator* op); |
- static inline int GetContextInputCount(Operator* op); |
- static inline int GetEffectInputCount(Operator* op); |
- static inline int GetControlInputCount(Operator* op); |
- static inline int GetFrameStateInputCount(Operator* op); |
- static inline int GetTotalInputCount(Operator* op); |
- |
- static inline bool HasValueOutput(Operator* op); |
- static inline bool HasEffectOutput(Operator* op); |
- static inline bool HasControlOutput(Operator* op); |
- |
- static inline int GetValueOutputCount(Operator* op); |
- static inline int GetEffectOutputCount(Operator* op); |
- static inline int GetControlOutputCount(Operator* op); |
- |
- static inline bool IsBasicBlockBegin(Operator* op); |
+ static inline bool HasValueInput(const Operator* op); |
+ static inline bool HasContextInput(const Operator* op); |
+ static inline bool HasEffectInput(const Operator* op); |
+ static inline bool HasControlInput(const Operator* op); |
+ static inline bool HasFrameStateInput(const Operator* op); |
+ |
+ static inline int GetValueInputCount(const Operator* op); |
+ static inline int GetContextInputCount(const Operator* op); |
+ static inline int GetEffectInputCount(const Operator* op); |
+ static inline int GetControlInputCount(const Operator* op); |
+ static inline int GetFrameStateInputCount(const Operator* op); |
+ static inline int GetTotalInputCount(const Operator* op); |
+ |
+ static inline bool HasValueOutput(const Operator* op); |
+ static inline bool HasEffectOutput(const Operator* op); |
+ static inline bool HasControlOutput(const Operator* op); |
+ |
+ static inline int GetValueOutputCount(const Operator* op); |
+ static inline int GetEffectOutputCount(const Operator* op); |
+ static inline int GetControlOutputCount(const Operator* op); |
+ |
+ static inline bool IsBasicBlockBegin(const Operator* op); |
}; |
-} |
-} |
-} // namespace v8::internal::compiler |
+ |
+} // namespace compiler |
+} // namespace internal |
+} // namespace v8 |
#endif // V8_COMPILER_OPERATOR_PROPERTIES_H_ |