File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/object Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 126
126
import com .oracle .graal .python .runtime .sequence .storage .ByteSequenceStorage ;
127
127
import com .oracle .graal .python .runtime .sequence .storage .CharSequenceStorage ;
128
128
import com .oracle .graal .python .runtime .sequence .storage .DoubleSequenceStorage ;
129
+ import com .oracle .graal .python .runtime .sequence .storage .EmptySequenceStorage ;
129
130
import com .oracle .graal .python .runtime .sequence .storage .IntSequenceStorage ;
130
131
import com .oracle .graal .python .runtime .sequence .storage .LongSequenceStorage ;
131
132
import com .oracle .graal .python .runtime .sequence .storage .SequenceStorage ;
@@ -287,7 +288,7 @@ public final PTuple createEmptyTuple() {
287
288
}
288
289
289
290
public final PTuple createEmptyTuple (LazyPythonClass cls ) {
290
- return trace (new PTuple (cls , new Object [ 0 ] ));
291
+ return trace (new PTuple (cls , EmptySequenceStorage . INSTANCE ));
291
292
}
292
293
293
294
public final PTuple createTuple (Object [] objects ) {
You can’t perform that action at this time.
0 commit comments