[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrBuilder.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 17 15:25:58 PST 2005
Changes in directory llvm/lib/Target/X86:
X86InstrBuilder.h updated: 1.15 -> 1.16
---
Log message:
Fix indentation.
---
Diffs of the changes: (+18 -19)
Index: llvm/lib/Target/X86/X86InstrBuilder.h
diff -u llvm/lib/Target/X86/X86InstrBuilder.h:1.15 llvm/lib/Target/X86/X86InstrBuilder.h:1.16
--- llvm/lib/Target/X86/X86InstrBuilder.h:1.15 Sat Jan 1 20:38:18 2005
+++ llvm/lib/Target/X86/X86InstrBuilder.h Mon Jan 17 17:25:45 2005
@@ -33,25 +33,24 @@
/// with BP or SP and Disp being offsetted accordingly. The displacement may
/// also include the offset of a global value.
struct X86AddressMode {
- enum {
- RegBase,
- FrameIndexBase,
- } BaseType;
-
- union {
- unsigned Reg;
- int FrameIndex;
- } Base;
-
- unsigned Scale;
- unsigned IndexReg;
- unsigned Disp;
- GlobalValue *GV;
-
- X86AddressMode() : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0),
- GV(NULL) {
- Base.Reg = 0;
- }
+ enum {
+ RegBase,
+ FrameIndexBase,
+ } BaseType;
+
+ union {
+ unsigned Reg;
+ int FrameIndex;
+ } Base;
+
+ unsigned Scale;
+ unsigned IndexReg;
+ unsigned Disp;
+ GlobalValue *GV;
+
+ X86AddressMode() : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0) {
+ Base.Reg = 0;
+ }
};
/// addDirectMem - This function is used to add a direct memory reference to the
More information about the llvm-commits
mailing list