Fix bad-codegen from ilasm
authorKyungwoo Lee <kyulee@microsoft.com>
Mon, 4 Jan 2016 21:37:08 +0000 (13:37 -0800)
committerKyungwoo Lee <kyulee@microsoft.com>
Mon, 4 Jan 2016 22:11:27 +0000 (14:11 -0800)
commitbc7a2bd9fe8c389a3b622a1456e10a7ed606f9dd
tree13912d305dbf928726354c6b5b2351a823ab910d
parent85f256e9b41cac20834d9695675e3ac8694454f9
Fix bad-codegen from ilasm

Switch target should be 4 byte instead of 8 byte.
In Windows, size of long is same as size of int which is 4 byte, but this is 8 byte in Unix.
src/ilasm/assembler.cpp