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

Unified Diff: src/compiler/js-context-specialization.cc

Issue 453833003: Add initial support for inlining. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add initial support for inlining. 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/js-context-specialization.cc
diff --git a/src/compiler/js-context-specialization.cc b/src/compiler/js-context-specialization.cc
index bdf142763a8887ca3db22cdda719b94eae24f86a..77596f5da21a385449812bc2a1fe017f9b321524 100644
--- a/src/compiler/js-context-specialization.cc
+++ b/src/compiler/js-context-specialization.cc
@@ -32,6 +32,7 @@ static void ReplaceEffectfulWithValue(Node* node, Node* value) {
iter = iter.UpdateToAndIncrement(value);
}
}
+ node->RemoveAllInputs();
}

Powered by Google App Engine
This is Rietveld 408576698