[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;
|
||||
}
|
||||
void set_from(const Value* other) {
|
||||
assert_true(other->IsConstant());
|
||||
type = other->type;
|
||||
flags = other->flags;
|
||||
constant.v128 = other->constant.v128;
|
||||
|
|
Loading…
Reference in New Issue