diff options
| author | 2016-02-29 14:30:18 +0000 | |
|---|---|---|
| committer | 2016-02-29 14:30:18 +0000 | |
| commit | c3bcf40e905c53ec857ec40a9ae45f4c86738929 (patch) | |
| tree | aa03a2a6d0f70faa20f3579458abde24f71abb04 /compiler/optimizing/nodes.h | |
| parent | fb734b416d20e5c3d1c29576f5cf16a003960b55 (diff) | |
| parent | a1d8ddfaf09545f99bc326dff97ab604d4574eb6 (diff) | |
Merge "Bug fix for polymorphic inlining."
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 9eddfc7e0e..e3dbe16547 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -353,6 +353,13 @@ class HGraph : public ArenaObject<kArenaAllocGraph> { // and removing the invoke instruction. HInstruction* InlineInto(HGraph* outer_graph, HInvoke* invoke); + // Update the loop and try membership of `block`, which was spawned from `reference`. + // In case `reference` is a back edge, `replace_if_back_edge` notifies whether `block` + // should be the new back edge. + void UpdateLoopAndTryInformationOfNewBlock(HBasicBlock* block, + HBasicBlock* reference, + bool replace_if_back_edge); + // Need to add a couple of blocks to test if the loop body is entered and // put deoptimization instructions, etc. void TransformLoopHeaderForBCE(HBasicBlock* header); |