diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-22 15:05:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-22 15:05:02 -0700 |
commit | 5d16d4b3b344aa1dbe07deff0d282adea6f8c369 (patch) | |
tree | 22f802104112bd276dfa8a0990412f289e6f0770 /test/unit.fromasm.imprecise | |
parent | 89a3fcbc78903d1a904354dd6eb2c4bd1ac44e8e (diff) | |
download | binaryen-5d16d4b3b344aa1dbe07deff0d282adea6f8c369.tar.gz binaryen-5d16d4b3b344aa1dbe07deff0d282adea6f8c369.tar.bz2 binaryen-5d16d4b3b344aa1dbe07deff0d282adea6f8c369.zip |
don't depend on asm.js type detection in binary formation in asm2wasm, use the full asm global info we have (#535)
Diffstat (limited to 'test/unit.fromasm.imprecise')
-rw-r--r-- | test/unit.fromasm.imprecise | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise b/test/unit.fromasm.imprecise index 240cc0bd5..347ea4e88 100644 --- a/test/unit.fromasm.imprecise +++ b/test/unit.fromasm.imprecise @@ -355,6 +355,20 @@ (func $bitcasts (param $0 i32) (param $1 f32) (nop) ) + (func $lb (param $0 i32) + (i32.store + (get_local $0) + (i32.add + (i32.add + (i32.load + (i32.const 48) + ) + (i32.const 136) + ) + (i32.const 8) + ) + ) + ) (func $z (nop) ) |