[WebAssembly] Add an assert to sanity-check dead flags.
authorDan Gohman <dan433584@gmail.com>
Mon, 14 Dec 2015 21:53:54 +0000 (21:53 +0000)
committerDan Gohman <dan433584@gmail.com>
Mon, 14 Dec 2015 21:53:54 +0000 (21:53 +0000)
commit7e72e63354ab6eff0d194244232f914dc5cba57b
treec241ebb531c91271a2b69043a1bc38236892e843
parent2d6ab4db1cefe78251a21cb1f3727be3cb2039d8
[WebAssembly] Add an assert to sanity-check dead flags.

The WebAssemblyStoreResults pass runs before LiveVariables, so it doesn't
expect to have to keep dead flags up to date; check this with an assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255551 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyStoreResults.cpp