Fixed constant values not being cloned correctly.

This commit is contained in:
gibbed 2014-01-12 22:06:10 -08:00
parent dde2b1ff41
commit 4e9d3a00e4
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ Value* HIRBuilder::CloneValue(Value* source) {
value->ordinal = next_value_ordinal_++; value->ordinal = next_value_ordinal_++;
value->type = source->type; value->type = source->type;
value->flags = source->flags; value->flags = source->flags;
value->constant.i64 = source->constant.i64; value->constant.v128 = source->constant.v128;
value->def = NULL; value->def = NULL;
value->use_head = NULL; value->use_head = NULL;
value->tag = NULL; value->tag = NULL;