diff options
| author | 2016-02-16 16:54:19 +0000 | |
|---|---|---|
| committer | 2016-02-16 16:54:19 +0000 | |
| commit | 4a69a30120ecba9431246938e124d56213447137 (patch) | |
| tree | 3201099fae198e4d90305a0a9168019c1a7b9f60 /compiler/optimizing/nodes.h | |
| parent | ce053b20e87f33b4417b8f21bb6f2ec4feb3104e (diff) | |
| parent | 55bd749991f9a0a73f612696e1a93e739380546b (diff) | |
Merge "Refactor the inliner."
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 93f84edb40..854854f238 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -345,8 +345,9 @@ class HGraph : public ArenaObject<kArenaAllocGraph> { void ComputeTryBlockInformation(); // Inline this graph in `outer_graph`, replacing the given `invoke` instruction. - // Returns the instruction used to replace the invoke expression or null if the - // invoke is for a void method. + // Returns the instruction to replace the invoke expression or null if the + // invoke is for a void method. Note that the caller is responsible for replacing + // and removing the invoke instruction. HInstruction* InlineInto(HGraph* outer_graph, HInvoke* invoke); // Need to add a couple of blocks to test if the loop body is entered and |