aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-28 18:00:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-02 17:31:36 -0700
commit4ce6bfe5d8cb5d1e4c353b97d0c92a465e9e4217 (patch)
tree681ef8e7c5ada25ae6c4b8f9a25b70a382ccc7d2
parent0a3f0f082cb0629c23e82553ceb2c1d56163f2c4 (diff)
remove whitespace after switch loop
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index ce23ca2c..8a6255c3 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -728,7 +728,7 @@ function JSify(data, functionsOnly, givenFunctions) {
if (func.setjmpTable && !ASM_JS) {
ret += 'try { ';
}
- ret += 'switch(' + asmCoercion('label', 'i32') + ') {\n';
+ ret += 'switch(' + asmCoercion('label', 'i32') + '){\n';
ret += block.labels.map(function(label) {
return indent + INDENTATION + 'case ' + getLabelId(label.ident) + ': ' + (SHOW_LABELS ? '// ' + getOriginalLabelId(label.ident) : '') + '\n'
+ getLabelLines(label, indent + INDENTATION + INDENTATION);