aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-21 17:23:38 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-21 17:50:46 -0800
commit55cadd9dc575f27c46a2c8d9775ada8d1d51ebc4 (patch)
tree7190e47797673b2013df29f101f913e36df73360
parentc744bcec81b3c036f3a434573853baf1bd03d82d (diff)
fix typo
-rw-r--r--tools/js-optimizer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js
index aa1f4a0f..5fd0f138 100644
--- a/tools/js-optimizer.js
+++ b/tools/js-optimizer.js
@@ -2478,7 +2478,7 @@ function registerizeHarder(ast) {
var jPrevCaseExit = jCheckExit;
var jPrevBodyExit = jCheckExit;
for (var i=0; i<node[2].length; i++) {
- // In the gerneral case we'll need a basic block for the case clause.
+ // In the general case we'll need a basic block for the case clause.
// Try to avoid it for common, simple, non-var-using cases.
if (!node[2][i][0]) {
hasDefault = true;