Skip to content

Commit b979899

Browse files
committed
(feat) minor change
1 parent 9edf004 commit b979899

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/main/java/com/googlecode/aviator/code/interpreter/InterpretContext.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,11 @@ public IR getPc() {
9292
return this.pc;
9393
}
9494

95-
public void push(final AviatorObject... args) {
96-
for (AviatorObject arg : args) {
97-
if (arg == null) {
98-
arg = AviatorNil.NIL;
99-
}
100-
this.operands.push(arg);
95+
public void push(AviatorObject arg) {
96+
if (arg == null) {
97+
arg = AviatorNil.NIL;
10198
}
99+
this.operands.push(arg);
102100
}
103101

104102
public AviatorObject peek() {

0 commit comments

Comments
 (0)