context.getInvocationCompiler().invokeDynamic(callNode.getName(), receiverCallback, argsCallback, CallType.NORMAL, closureArg, callNode.getIterNode() instanceof IterNode);
}
public void compileCase(Node node, BodyCompiler context) {
CaseNode caseNode = (CaseNode) node;
boolean hasCase = false;
if (caseNode.getCaseNode() != null) {
compile(caseNode.getCaseNode(), context);
hasCase = true;
}
context.pollThreadEvents();
Node firstWhenNode = caseNode.getFirstWhenNode();
// NOTE: Currently this optimization is limited to the following situations:
// * No multi-valued whens
// * All whens must be an int-ranged literal fixnum
// It also still emits the code for the "safe" when logic, which is rather