// TODO: don't require pop
if (!expr) context.consumeCurrentValue();
}
public void compileArgsCatArguments(Node node, BodyCompiler context, boolean expr) {
ArgsCatNode argsCatNode = (ArgsCatNode) node;
compileArguments(argsCatNode.getFirstNode(), context);
// arguments compilers always create IRubyObject[], but we want to use RubyArray.concat here;
// FIXME: as a result, this is NOT efficient, since it creates and then later unwraps an array
context.createNewArray(true);
compile(argsCatNode.getSecondNode(), context,true);
splatCurrentValue(context);
context.concatArrays();
context.convertToJavaArray();
// TODO: don't require pop
if (!expr) context.consumeCurrentValue();