aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-28 17:37:35 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-02 17:31:35 -0700
commit374fbf3909507d8e1a48aaacb8e35d2497c301f7 (patch)
tree45749eca4dc44fba504e22387ff3e04c96dec8ce /src
parent222380118bee0b494560b88ef9c2935d0b2b633e (diff)
remove whitespace in misc function stuff
Diffstat (limited to 'src')
-rw-r--r--src/jsifier.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index b0b10a75..e99cfcdd 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -584,7 +584,7 @@ function JSify(data, functionsOnly, givenFunctions) {
if (DLOPEN_SUPPORT) Functions.getIndex(func.ident);
- func.JS += 'function ' + func.ident + '(' + paramIdents.join(', ') + ') {\n';
+ func.JS += 'function ' + func.ident + '(' + paramIdents.join(',') + '){\n';
if (PGO) {
func.JS += INDENTATION + 'PGOMonitor.called["' + func.ident + '"] = 1;\n';
@@ -613,17 +613,17 @@ function JSify(data, functionsOnly, givenFunctions) {
return v.ident + '=' + asmInitializer(type); //, func.variables[v.ident].impl);
} else {
return range(Math.ceil(getBits(type)/32)).map(function(i) {
- return v.ident + '$' + i + '= 0';
+ return v.ident + '$' + i + '=0';
}).join(',');
}
- }).join(', ') + ';\n';
+ }).join(',') + ';\n';
}
}
}
if (true) { // TODO: optimize away when not needed
if (CLOSURE_ANNOTATIONS) func.JS += '/** @type {number} */';
- func.JS += INDENTATION + 'var label = 0;\n';
+ func.JS += INDENTATION + 'var label=0;\n';
}
if (ASM_JS) {
@@ -632,12 +632,12 @@ function JSify(data, functionsOnly, givenFunctions) {
hasByVal = hasByVal || param.byVal;
});
if (hasByVal) {
- func.JS += INDENTATION + 'var tempParam = 0;\n';
+ func.JS += INDENTATION + 'var tempParam=0;\n';
}
}
if (func.hasVarArgsCall) {
- func.JS += INDENTATION + 'var tempVarArgs = 0;\n';
+ func.JS += INDENTATION + 'var tempVarArgs=0;\n';
}
// Prepare the stack, if we need one. If we have other stack allocations, force the stack to be set up.