提交 1263eb34 编写于 作者: S sunag

revert getShared

上级 e47f073f
......@@ -20,11 +20,11 @@ NormalNode.prototype = Object.create( TempNode.prototype );
NormalNode.prototype.constructor = NormalNode;
NormalNode.prototype.nodeType = "Normal";
NormalNode.prototype.getUnique = function () {
NormalNode.prototype.getShared = function () {
// if unique is true, TempNode will not create temp variable (for optimization)
// if shared is false, TempNode will not create temp variable (for optimization)
return this.scope === NormalNode.LOCAL;
return this.scope === NormalNode.WORLD;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册