mirror of https://github.com/icedland/iced.git
Ignore v prefix unless it's the 1st string
This commit is contained in:
parent
97c640a33c
commit
6cb5129f11
|
@ -87,7 +87,7 @@ namespace Generator.Formatters.Gas {
|
|||
firstStringIndex = uint.MaxValue;
|
||||
}
|
||||
else {
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: false, out hasVPrefix);
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: true, out hasVPrefix);
|
||||
if (hasVPrefix)
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ namespace Generator.Formatters.Intel {
|
|||
firstStringIndex = uint.MaxValue;
|
||||
}
|
||||
else {
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: false, out hasVPrefix);
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: true, out hasVPrefix);
|
||||
if (hasVPrefix)
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ namespace Generator.Formatters.Masm {
|
|||
firstStringIndex = uint.MaxValue;
|
||||
}
|
||||
else {
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: false, out hasVPrefix);
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: true, out hasVPrefix);
|
||||
if (hasVPrefix)
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ namespace Generator.Formatters.Nasm {
|
|||
firstStringIndex = uint.MaxValue;
|
||||
}
|
||||
else {
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: false, out hasVPrefix);
|
||||
si = stringsTable.GetIndex(s, ignoreVPrefix: true, out hasVPrefix);
|
||||
if (hasVPrefix)
|
||||
throw new InvalidOperationException();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue