commit | 6c17dd8cb9b7b62b872ce4fd49d61b5f646f4899 | [log] [tgz] |
---|---|---|
author | Karl Schimpf <kschimpf@google.com> | Tue Jun 30 10:25:27 2015 -0700 |
committer | Karl Schimpf <kschimpf@google.com> | Tue Jun 30 10:25:27 2015 -0700 |
tree | 0835709b9b1f1db28408f37d3074021bdec3311f | |
parent | e0df91fe831421269351efa5fa64dc2f31502e6e [diff] |
Fixes case where terminator instruction is missing at end of function. If the bitcode parser detects that the last block in the function is missing a terminator, generate an error message and insert a terminator instruction. BUG= https://code.google.com/p/nativeclient/issues/detail?id=4214 R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1210013005.