mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-19 22:34:18 +00:00
Avoid warning on assertionless builds
This was causing unused variable warning due to the variable only being used in an assertion.
This commit is contained in:
parent
5ad7fdb2f3
commit
474c780399
@ -641,8 +641,7 @@ def print_ir_allocator_helpers():
|
||||
output_file.write("\t}\n\n")
|
||||
|
||||
output_file.write("\tuint8_t GetOpElements(const OrderedNode *Op) const {\n")
|
||||
output_file.write("\t\tauto HeaderOp = Op->Header.Value.GetNode(DualListData.DataBegin());\n")
|
||||
output_file.write("\t\tLOGMAN_THROW_A_FMT(OpHasDest(Op), \"Op {} has no dest\\n\", GetName(HeaderOp->Op));\n")
|
||||
output_file.write("\t\tLOGMAN_THROW_A_FMT(OpHasDest(Op), \"Op {} has no dest\\n\", GetOpName(Op));\n")
|
||||
output_file.write("\t\treturn IR::OpSizeToSize(GetOpSize(Op)) / IR::OpSizeToSize(GetOpElementSize(Op));\n")
|
||||
output_file.write("\t}\n\n")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user