summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-11-10 13:10:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-10 13:10:08 +0000
commit8a6463a7052ec69e7c0b94a65b26807f570e6359 (patch)
tree5da26d13991fe0c7d930bd6f87537d014569b227 /compiler/optimizing/nodes.cc
parentee57104951acf3dc5f6343f1d3022e3cd73016f5 (diff)
parent59a850ee63a637660599f215901058b059f3a4b4 (diff)
Merge "ART: Improve comment about inlining into try/catch"
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index 3cf6148b8e..f006df1852 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -1731,8 +1731,9 @@ HInstruction* HGraph::InlineInto(HGraph* outer_graph, HInvoke* invoke) {
// (2) the reverse post order of that graph,
// (3) the potential loop information they are now in,
// (4) try block membership.
- // Note that we do not need to update catch phis because catch blocks cannot
- // reference vregs from the inlined method.
+ // Note that we do not need to update catch phi inputs because they
+ // correspond to the register file of the outer method which the inlinee
+ // cannot modify.
// We don't add the entry block, the exit block, and the first block, which
// has been merged with `at`.