Add compiler hints

This commit is contained in:
dcodeIO
2018-06-29 00:14:42 +02:00
parent 3ed4f3331e
commit 82da2d1f6d
15 changed files with 189 additions and 57 deletions

View File

@ -0,0 +1,4 @@
(module
(memory $0 0)
(export "memory" (memory $0))
)

View File

@ -0,0 +1,8 @@
ASC_TARGET;
ASC_NO_TREESHAKING;
ASC_NO_ASSERT;
ASC_MEMORY_BASE;
ASC_OPTIMIZE_LEVEL;
ASC_SHRINK_LEVEL;
ASC_FEATURE_MUTABLE_GLOBAL;
ASC_FEATURE_SIGN_EXTENSION;

View File

@ -0,0 +1,33 @@
(module
(type $v (func))
(global $HEAP_BASE i32 (i32.const 8))
(memory $0 0)
(export "memory" (memory $0))
(start $start)
(func $start (; 0 ;) (type $v)
(drop
(i32.const 1)
)
(drop
(i32.const 0)
)
(drop
(i32.const 0)
)
(drop
(i32.const 0)
)
(drop
(i32.const 0)
)
(drop
(i32.const 0)
)
(drop
(i32.const 0)
)
(drop
(i32.const 0)
)
)
)