Removing obsolete delete calls.

This commit is contained in:
Tim Jones
2010-05-04 01:15:17 +12:00
committed by Jeremy Ashkenas
parent 52e6399e02
commit ae70d10996
2 changed files with 0 additions and 5 deletions

View File

@@ -460,7 +460,6 @@
this.last = part; this.last = part;
} }
} }
del(o, 'chain_root');
if (op && this.wrapped) { if (op && this.wrapped) {
return "(" + complete + ")"; return "(" + complete + ")";
} else { } else {
@@ -550,7 +549,6 @@
}).call(this).join(', '); }).call(this).join(', ');
compilation = this.is_super ? this.compile_super(args, o) : ("" + (this.prefix()) + (this.variable.compile(o)) + "(" + args + ")"); compilation = this.is_super ? this.compile_super(args, o) : ("" + (this.prefix()) + (this.variable.compile(o)) + "(" + args + ")");
} }
del(o, 'chain_root');
if (o.operation && this.wrapped) { if (o.operation && this.wrapped) {
return "(" + compilation + ")"; return "(" + compilation + ")";
} else { } else {

View File

@@ -325,8 +325,6 @@ exports.ValueNode: class ValueNode extends BaseNode
baseline: + part baseline: + part
complete: + part complete: + part
@last: part @last: part
del o, 'chain_root'
if op and @wrapped then "($complete)" else complete if op and @wrapped then "($complete)" else complete
@@ -387,7 +385,6 @@ exports.CallNode: class CallNode extends BaseNode
args: (arg.compile(o) for arg in @args).join(', ') args: (arg.compile(o) for arg in @args).join(', ')
compilation: if @is_super then @compile_super(args, o) compilation: if @is_super then @compile_super(args, o)
else "${@prefix()}${@variable.compile(o)}($args)" else "${@prefix()}${@variable.compile(o)}($args)"
del o, 'chain_root'
if o.operation and @wrapped then "($compilation)" else compilation if o.operation and @wrapped then "($compilation)" else compilation
# `super()` is converted into a call against the superclass's implementation # `super()` is converted into a call against the superclass's implementation