Permalink
Browse files

add support to 'in' operator for AOT

  • Loading branch information...
1 parent ff4dffb commit 3548af88c985f8190cc14daa12df1495335b4ba9 @JeffreyZhao committed Aug 2, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −1 bin/npm/jscexc/package.json
  2. +1 −0 bin/npm/jscexc/src/jscexc.js
  3. +1 −1 scripts/build-npm.js
  4. +1 −0 src/jscexc.js
View
2 bin/npm/jscexc/package.json
@@ -6,7 +6,7 @@
"email": "jeffz@live.com"
},
"name": "jscexc",
- "version": "0.2.2",
+ "version": "0.2.3",
"main": "src/jscexc.js",
"description": "The AOT compiler for Jscex",
"dependencies": {
View
1 bin/npm/jscexc/src/jscexc.js
@@ -112,6 +112,7 @@ var extract = function (ast) {
case "instanceof":
case "typeof":
case "void":
+ case "in":
visitAll(node.children);
break;
case "IDENTIFIER":
View
2 scripts/build-npm.js
@@ -87,7 +87,7 @@ var buildAot = function () {
var packageData = _.clone(packageBase);
packageData.name = "jscexc";
- packageData.version = "0.2.2";
+ packageData.version = "0.2.3";
packageData.main = "src/jscexc.js";
packageData.description = "The AOT compiler for Jscex";
packageData.dependencies = {
View
1 src/jscexc.js
@@ -112,6 +112,7 @@ var extract = function (ast) {
case "instanceof":
case "typeof":
case "void":
+ case "in":
visitAll(node.children);
break;
case "IDENTIFIER":

0 comments on commit 3548af8

Please sign in to comment.