diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-17 23:25:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-17 23:25:45 +0000 |
commit | e9fe2bcac206fe16790129431b606190a9be6c47 (patch) | |
tree | 3b93ef02cc04b1fb9081e2f54bd39e699a7e4bea /lib/Target/X86/X86InstrBuilder.h | |
parent | a8b6f68a554b63fa94c78413c1d305bf658bca54 (diff) |
Fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrBuilder.h')
-rw-r--r-- | lib/Target/X86/X86InstrBuilder.h | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/lib/Target/X86/X86InstrBuilder.h b/lib/Target/X86/X86InstrBuilder.h index 17dc38eb6d..65517e3b41 100644 --- a/lib/Target/X86/X86InstrBuilder.h +++ b/lib/Target/X86/X86InstrBuilder.h @@ -33,25 +33,24 @@ namespace llvm { /// 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 |