summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-11-10 09:43:28 +0000
committer David Brazdil <dbrazdil@google.com> 2015-11-10 09:43:28 +0000
commitdc0d1eb8a4b033db4acf136cd563de865542098a (patch)
treefc40b96ed4d0f88eb7a278fdeb2564a43ad39ff3 /compiler/optimizing/nodes.cc
parent1b87033ed83ba03983b49237da89ce36d319b68e (diff)
ART: Add clarifying comment
Change-Id: I189ec4cae0aa1a5245a79e86d1ec0592e38eac4a
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index de3f2668b6..a0cfe8e8a5 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -1686,6 +1686,8 @@ 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.
// We don't add the entry block, the exit block, and the first block, which
// has been merged with `at`.