diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-30 18:30:48 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-30 18:30:48 -0800 |
commit | 8608b60d2deecf8a042d4f8ca4237aeb23f3c63a (patch) | |
tree | c37729ce196fe2bc2af1abb756371513e2d6fb2b /src/jsifier.js | |
parent | 2eec25eab19a07f700c807fa7a62668e77fbaf34 (diff) |
makeSetValue debugging stuff, and fix some missing ;'s for makeSetValue
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 3635bd51..b06b4334 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -302,7 +302,7 @@ function JSify(data, functionsOnly, givenFunctions) { if (needsPostSet(value)) { // ident, or expression containing an ident ret.push({ intertype: 'GlobalVariablePostSet', - JS: makeSetValue(item.ident, i, value, 'i32', false, true) // ignore=true, since e.g. rtti and statics cause lots of safe_heap errors + JS: makeSetValue(item.ident, i, value, 'i32', false, true) + ';' // ignore=true, since e.g. rtti and statics cause lots of safe_heap errors }); constant[i] = '0'; } |