Skip to content

[Refactor] Fixed internal error number clash (2021102610)

Summary

This merge request fixes an internal error number clash in the x86 peephole optimizer that was caused by a lazy copy-paste of similar code.

System

  • Processor architecture: i386, x86_64

What is the current bug behavior?

If internal error 2021102610 is triggered, a search for it will yield 2 different blocks of code (one in OptPass1ADD and one in OptPass1SUB), thus complicating debugging.

What is the behavior after applying this patch?

The internal error in OptPass1SUB is now 2021102611.

Merge request reports