diff options
author | Roland Levillain <rpl@google.com> | 2015-04-29 10:23:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-29 10:23:07 +0000 |
commit | fadf977d85bfbf3f9d5d4730afb660cbed34f989 (patch) | |
tree | d64b1cd421d92a52930c44fc96cc822b19ff1430 /compiler/optimizing/nodes.h | |
parent | d474b1d0fd69fdeb481adda8c0814512956f2d51 (diff) | |
parent | 2967ec6c3dad1c1dc15fc827188bd5ecfa75493b (diff) | |
download | android_art-fadf977d85bfbf3f9d5d4730afb660cbed34f989.tar.gz android_art-fadf977d85bfbf3f9d5d4730afb660cbed34f989.tar.bz2 android_art-fadf977d85bfbf3f9d5d4730afb660cbed34f989.zip |
Merge "Add InsertInstructionAfter in HBasicBlock."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index f64086e607..3fe23e1816 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -620,7 +620,9 @@ class HBasicBlock : public ArenaObject<kArenaAllocMisc> { void DisconnectAndDelete(); void AddInstruction(HInstruction* instruction); + // Insert `instruction` before/after an existing instruction `cursor`. void InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor); + void InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor); // Replace instruction `initial` with `replacement` within this block. void ReplaceAndRemoveInstructionWith(HInstruction* initial, HInstruction* replacement); |