not the source value type.
+2004-11-05 Evin Robertson <evin@users.sourceforge.net>
+
+ * jit/jit-insn.c (jit_insn_store): use the destination type
+ to determine the store opcode, not the source value type.
+
2004-11-02 Evin Robertson <evin@users.sourceforge.net>
* jit/jit-function.c (jit_function_compile): clear block addresses
jit_value_ref(func, dest);
jit_value_ref(func, value);
insn->opcode = (short)_jit_store_opcode
- (JIT_OP_COPY_INT, JIT_OP_COPY_STORE_BYTE, value->type);
+ (JIT_OP_COPY_INT, JIT_OP_COPY_STORE_BYTE, dest->type);
insn->dest = dest;
insn->value1 = value;
return 1;