1.1 --- a/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeToJavaScript.java Sun Jan 13 23:07:54 2013 +0100
1.2 +++ b/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeToJavaScript.java Mon Jan 14 09:17:18 2013 +0100
1.3 @@ -673,8 +673,10 @@
1.4 break;
1.5 case opc_i2b:
1.6 case opc_i2c:
1.7 + out.append("{ /* number conversion */ }");
1.8 + break;
1.9 case opc_i2s:
1.10 - out.append("{ /* number conversion */ }");
1.11 + emit(out, "@1 = __toInt16(@1);", smapper.getI(0));
1.12 break;
1.13 case opc_aconst_null:
1.14 emit(out, "@1 = null;", smapper.pushA());