forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstructor-output.js
More file actions
57 lines (51 loc) · 939 Bytes
/
constructor-output.js
File metadata and controls
57 lines (51 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// EMSCRIPTEN_START_ASM
function instantiate(q, r, s) {
var a = new ArrayBuffer(16);
var b = new Int32Array(a);
var c = new Float32Array(a);
function d(e) {
return b[e];
}
function f(e, g) {
b[e] = g;
}
function h(g) {
c[2] = g;
}
function i() {
return c[2];
}
function m(n, o, p) {
var j = new n.Int8Array(p);
var k = o.emscripten_glVertexAttrib4fv;
var l = 6191184;
// EMSCRIPTEN_START_FUNCS
function v() {
return t(10, 20) + u(30);
}
function t(a, b) {
return u(a + b);
}
function u(a) {
return a + 1;
}
// EMSCRIPTEN_END_FUNCS
return {
"main": v
};
}
return m({
"Int8Array": Int8Array,
"Int16Array": Int16Array,
"Int32Array": Int32Array,
"Uint8Array": Uint8Array,
"Uint16Array": Uint16Array,
"Uint32Array": Uint32Array,
"Float32Array": Float32Array,
"Float64Array": Float64Array,
"NaN": NaN,
Infinity: Infinity,
"Math": Math
}, q, r.buffer);
}
// EMSCRIPTEN_END_ASM