Project

General

Profile

Emulator Issues #6990

Duplicated CodeBlock classes in the emitters

Added by Sonicadvance1 about 7 years ago.

Status:
Fixed
Priority:
High
Assignee:
Category:
Common
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
Yes
Regression start:
Fixed in:

Description

In each of the emitter headers there are codeblock classes that essentially do the same thing, but inherit from different classes.

There are currently two of these classes, but once the AArch64 emitter is added there will be three.
I need to figure out an elegant way of merging these in to one base class.
The code duplication is getting out of hand.

Also available in: Atom PDF