aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-21 09:01:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-29 13:01:58 -0700
commitec9707170f4e6c8f016c2e2ea27a53abf1326410 (patch)
treebe61cbf107ce5c8eb507e794f7781c3be95e9d15 /src/jsifier.js
parent17248eb417685f37a94bc8857d3d6e513364cc9d (diff)
work towards le32 varargs
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 5fcf6b18..a2ed7f92 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -1295,6 +1295,9 @@ function JSify(data, functionsOnly, givenFunctions) {
return RuntimeGenerator.stackAlloc(getFastValue(calcAllocatedSize(item.allocatedType), '*', item.allocatedNum));
}
});
+ makeFuncLineActor('va_arg', function(item) {
+ return makeGetValue(item.value.ident, 0, item.type);
+ });
makeFuncLineActor('mathop', processMathop);