mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[JIT] Assert that other is constant in set_from.
This commit is contained in:
parent
996093e499
commit
b121f45c7f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue