Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorder enumerators in instructionAPI::Result::Result_Type #1588

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 9 additions & 6 deletions instructionAPI/h/Result.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,27 @@ namespace Dyninst
void * m480val;
void * m512val;
};

// The order of these enumerations is important.
// See 'operator==' and arithmetic operators.
enum Result_Type
{
bit_flag = 0,
s8,
u8,
s8,
u16,
s16,
u16,
u24,
u32,
s32,
u48,
u32,
s48,
u64,
u48,
s64,
u64,
sp_float,
dp_float,
dbl128,
m14, // For historical reason m14 means 14 bytes. All other mX means X bits
dbl128,
m32,
m64,
m80,
Expand Down