switching on keys of type long
Doug Simon
doug.simon at oracle.com
Wed Nov 6 10:57:40 PST 2013
This comes from TypeSwitchNode.
On Nov 6, 2013, at 7:43 PM, Venkatachalam, Vasanth <Vasanth.Venkatachalam at amd.com> wrote:
> Can someone explain why the emitCode( ) routine of AMD64ControlFlow.SequentialSwitchOp is handling the case:
>
> else if (key.getKind() = Kind.Long) ?
>
>> From my understanding of Java, it's not possible to switch on keys of type long. You get a compile time error.
>
> Vasanth
More information about the graal-dev
mailing list