[JIT] Assert that other is constant in set_from.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user