summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-11-10 09:46:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-10 09:46:41 +0000
commit1963759e84664b51b617b00e15728f439895033b (patch)
treefc40b96ed4d0f88eb7a278fdeb2564a43ad39ff3 /compiler/optimizing
parent1b87033ed83ba03983b49237da89ce36d319b68e (diff)
parentdc0d1eb8a4b033db4acf136cd563de865542098a (diff)
Merge "ART: Add clarifying comment"
Diffstat (limited to 'compiler/optimizing')
-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`.