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

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

Issue 453833003: Add initial support for inlining. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/node-properties.h
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h
index eaa4d66ada1c593aab3c8530b2e4292c60879077..40fcbfdb0d79becc17a9425d18b218b48b86806c 100644
--- a/src/compiler/node-properties.h
+++ b/src/compiler/node-properties.h
@@ -31,6 +31,7 @@ class NodeProperties {
static inline bool IsControl(Node* node);
+ static inline void ReplaceControlInput(Node* node, Node* control);
static inline void ReplaceEffectInput(Node* node, Node* effect,
int index = 0);
static inline void RemoveNonValueInputs(Node* node);
@@ -38,9 +39,9 @@ class NodeProperties {
static inline Bounds GetBounds(Node* node);
static inline void SetBounds(Node* node, Bounds bounds);
- static inline int GetContextIndex(Node* node);
-
+ private:
static inline int FirstValueIndex(Node* node);
+ static inline int FirstContextIndex(Node* node);
static inline int FirstEffectIndex(Node* node);
static inline int FirstControlIndex(Node* node);
static inline int PastValueIndex(Node* node);

Powered by Google App Engine
This is Rietveld 408576698