]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
rose: fix CHECK_NOT_HANDLED placement bug
authorJustin Viiret <justin.viiret@intel.com>
Fri, 27 May 2016 00:40:06 +0000 (10:40 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 1 Jun 2016 00:56:52 +0000 (10:56 +1000)
commit9826522e34dcd2cfe584083cd67ad32307e18460
tree4ef576cae2812b24d8c4291a8c83bb5f1ad19a51
parent89bc2b4b39e38d8c1fd240605d414838d899f19b
rose: fix CHECK_NOT_HANDLED placement bug

The CHECK_NOT_HANDLED instruction was being inserted into an already
partially-flattened program, which would result in jump offsets becoming
incorrect.

This change places it as part of the normal flow of program
construction, which avoids this issue.
src/rose/rose_build_bytecode.cpp