diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-04-28 22:47:59 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-04-28 22:47:59 +0800 |
commit | fc542c7e32eba2639af9f13368d307174d7045e9 (patch) | |
tree | f39dc47a97d56a30976d3f50c9953654bf10d0e6 /src/mir/helpers.hpp | |
parent | 647b1b3f8c55a5d0a7c48e722184b95f1d1dc6dd (diff) | |
download | mrust-fc542c7e32eba2639af9f13368d307174d7045e9.tar.gz |
MIR Check Full - Print the cause of invalidity
Diffstat (limited to 'src/mir/helpers.hpp')
-rw-r--r-- | src/mir/helpers.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir/helpers.hpp b/src/mir/helpers.hpp index 8b4e8424..d7aefe25 100644 --- a/src/mir/helpers.hpp +++ b/src/mir/helpers.hpp @@ -82,6 +82,7 @@ public: this->bb_idx = bb_idx; this->stmt_idx = stmt_idx; } + unsigned int get_cur_stmt_ofs() const; void set_cur_stmt_term(unsigned int bb_idx) { this->bb_idx = bb_idx; this->stmt_idx = STMT_TERM; |