]> git.lizzy.rs Git - rust.git/commit
change the block and stmt position after a function call returns
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 6 Jul 2016 15:55:05 +0000 (17:55 +0200)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 7 Sep 2016 10:48:29 +0000 (12:48 +0200)
commitad053d66fec4e2cdea2a93621caa303029b3a1e9
treed0e1bdd16bd6c9191d67ee007a4758be0a9f85d2
parentbe23dcdb8c5d038c4d594e924e4e17f02c0161ce
change the block and stmt position after a function call returns

previously we moved to the target block *before* calling a function, so when inspecting
the stack, it appeared as if we were in the first statement of the next block.
src/interpreter/mod.rs
src/interpreter/step.rs
src/interpreter/terminator.rs
tests/compile-fail/cast_fn_ptr.rs
tests/compile-fail/execute_memory.rs
tests/compile-fail/oom.rs