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

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

Issue 573703002: Add handling for deopt and argument adaptor frames. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor improvements. 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
Index: src/compiler/node-properties-inl.h
diff --git a/src/compiler/node-properties-inl.h b/src/compiler/node-properties-inl.h
index bc52dfdb7519d6470a658e2729ab49ca7d32652c..b019f7f71e3da263fcf71720d433e81f68d5e1fc 100644
--- a/src/compiler/node-properties-inl.h
+++ b/src/compiler/node-properties-inl.h
@@ -162,6 +162,11 @@ inline void NodeProperties::ReplaceEffectInput(Node* node, Node* effect,
return node->ReplaceInput(FirstEffectIndex(node) + index, effect);
}
+inline void NodeProperties::ReplaceFrameStateInput(Node* node,
+ Node* frame_state) {
Jarin 2014/09/15 13:37:51 Perhaps an assert here that the node indeed has fr
sigurds 2014/09/16 08:39:03 Done.
+ node->ReplaceInput(FirstFrameStateIndex(node), frame_state);
+}
+
inline void NodeProperties::RemoveNonValueInputs(Node* node) {
node->TrimInputCount(OperatorProperties::GetValueInputCount(node->op()));
}

Powered by Google App Engine
This is Rietveld 408576698