Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 303a259

Browse files
committed
AArch64: remove extraneous padding
The structs BarrierOp, PrefetchOp, PSBHintOp are in AArch64AsmParser.cpp (inside anonymous namespace). This diff changes the order of fields and removes the excessive padding (8 bytes). Patch by Alexander Shaposhnikov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279173 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 67f56cc commit 303a259

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ class AArch64Operand : public MCParsedAsmOperand {
208208
};
209209

210210
struct BarrierOp {
211-
unsigned Val; // Not the enum since not all values have names.
212211
const char *Data;
213212
unsigned Length;
213+
unsigned Val; // Not the enum since not all values have names.
214214
};
215215

216216
struct SysRegOp {
@@ -226,15 +226,15 @@ class AArch64Operand : public MCParsedAsmOperand {
226226
};
227227

228228
struct PrefetchOp {
229-
unsigned Val;
230229
const char *Data;
231230
unsigned Length;
231+
unsigned Val;
232232
};
233233

234234
struct PSBHintOp {
235-
unsigned Val;
236235
const char *Data;
237236
unsigned Length;
237+
unsigned Val;
238238
};
239239

240240
struct ShiftExtendOp {

0 commit comments

Comments
 (0)