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

Unified Diff: src/compiler/operator-properties.h

Issue 539933002: [turbofan] Make sure Operator is really immutable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/operator.h ('k') | src/compiler/operator-properties-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « src/compiler/operator.h ('k') | src/compiler/operator-properties-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698