Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review: https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 // Don't assert.
2 try {
3 eval('\
4 function asmModule(g, foreign, heap) {\
5 "use asm";\
6 let HEAP8 = new g.Int8Array(heap);\
7 function f() { return 17; } \
8 return {f: f};\
9 }\
10 let m = asmModule("", "", 1, "");\
11 ');
12 } catch (ex) {
13 }