OP_LCOMPARE_IM has type 'L', not 'I'. Fixes #664630.
authorZoltan Varga <vargaz@gmail.com>
Mon, 17 Jan 2011 21:43:08 +0000 (22:43 +0100)
committerZoltan Varga <vargaz@gmail.com>
Mon, 17 Jan 2011 21:44:13 +0000 (22:44 +0100)
mono/mini/mini-codegen.c

index 6563b7ecb53bdddcb2be8b75a843fffb7be19dc9..e9cbe049eef7374a1e384735d120c24028a20c23 100644 (file)
@@ -2428,7 +2428,6 @@ mono_opcode_to_type (int opcode, int cmp_opcode)
                switch (cmp_opcode) {
                case OP_ICOMPARE:
                case OP_ICOMPARE_IMM:
-               case OP_LCOMPARE_IMM:
                        return CMP_TYPE_I;
                default:
                        return CMP_TYPE_L;