[JIT] Assert that other is constant in set_from.
This commit is contained in:
parent
996093e499
commit
b121f45c7f
|
@ -170,6 +170,7 @@ class Value {
|
||||||
constant.v128 = value;
|
constant.v128 = value;
|
||||||
}
|
}
|
||||||
void set_from(const Value* other) {
|
void set_from(const Value* other) {
|
||||||
|
assert_true(other->IsConstant());
|
||||||
type = other->type;
|
type = other->type;
|
||||||
flags = other->flags;
|
flags = other->flags;
|
||||||
constant.v128 = other->constant.v128;
|
constant.v128 = other->constant.v128;
|
||||||
|
|
Loading…
Reference in New Issue