Fixed constant values not being cloned correctly.
This commit is contained in:
parent
dde2b1ff41
commit
4e9d3a00e4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue