summaryrefslogtreecommitdiff
path: root/src/mir/from_hir.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-12 19:02:44 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-12 19:02:44 +0800
commita9f15d100cd8ad377834b725766b0731a60065f8 (patch)
tree4ecd89a82084630b55033c0816cedfb5aef89993 /src/mir/from_hir.hpp
parent6121ffe191f1f921eef8066d0ab5734bdae416a3 (diff)
downloadmrust-a9f15d100cd8ad377834b725766b0731a60065f8.tar.gz
MIR Gen Match - Unify match arm codegen (patterns separate)
Diffstat (limited to 'src/mir/from_hir.hpp')
-rw-r--r--src/mir/from_hir.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mir/from_hir.hpp b/src/mir/from_hir.hpp
index 50609b85..c5fd105c 100644
--- a/src/mir/from_hir.hpp
+++ b/src/mir/from_hir.hpp
@@ -45,8 +45,10 @@ public:
bool block_active() const {
return m_block_active;
}
- void end_block(::MIR::Terminator term);
+
void set_cur_block(unsigned int new_block);
+ void pause_cur_block();
+ void end_block(::MIR::Terminator term);
::MIR::BasicBlockId new_bb_linked();
::MIR::BasicBlockId new_bb_unlinked();