]> granicus.if.org Git - llvm/commit
[WebAssembly] Encode block signatures as SLEB instead of ULEB
authorDerek Schuff <dschuff@google.com>
Mon, 17 Apr 2017 20:28:28 +0000 (20:28 +0000)
committerDerek Schuff <dschuff@google.com>
Mon, 17 Apr 2017 20:28:28 +0000 (20:28 +0000)
commite39a78c95197f442977c9a6edc23405791a82c75
tree2b4a5343240c0913fdff5f02feccc9ccfff2ec52
parent3b1256dc1d737bdeb9aaca6c1544825fd9914dc0
[WebAssembly] Encode block signatures as SLEB instead of ULEB

Use SLEB (varint) for block_type immediates in accordance with the spec.

Patch by Yury Delendik

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