My compiler for SABLE would create an array containing "a" and "b" in
the static initializer. At the switch statement, it would look up the
index of someString in that array, using -1 if it isn't there. That
index, which here is -1, 0, or 1, is pushed on the stack before the
switch opcode.
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to