mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-21 19:37:05 +00:00
misc: chore: Merge into pattern
This commit is contained in:
parent
a6f3f0718d
commit
48ba1cc9ed
161 changed files with 470 additions and 550 deletions
|
|
@ -208,11 +208,11 @@ namespace Spv.Generator
|
|||
|
||||
private void AddConstant(Instruction constant)
|
||||
{
|
||||
Debug.Assert(constant.Opcode == Op.OpConstant ||
|
||||
constant.Opcode == Op.OpConstantFalse ||
|
||||
constant.Opcode == Op.OpConstantTrue ||
|
||||
constant.Opcode == Op.OpConstantNull ||
|
||||
constant.Opcode == Op.OpConstantComposite);
|
||||
Debug.Assert(constant.Opcode is Op.OpConstant
|
||||
or Op.OpConstantFalse
|
||||
or Op.OpConstantTrue
|
||||
or Op.OpConstantNull
|
||||
or Op.OpConstantComposite);
|
||||
|
||||
var key = new ConstantKey(constant);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue