summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrBuilder.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-21 23:38:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-21 23:38:14 +0000
commit0e0a7a45d3d0a8c865a078459d2e1c6d8967a100 (patch)
tree1f94097d6647282c41d98050fdf425a656337715 /lib/Target/X86/X86InstrBuilder.h
parentb5f662fa0314f7e7e690aae8ebff7136cc3a5ab0 (diff)
downloadllvm-0e0a7a45d3d0a8c865a078459d2e1c6d8967a100.tar.gz
llvm-0e0a7a45d3d0a8c865a078459d2e1c6d8967a100.tar.bz2
llvm-0e0a7a45d3d0a8c865a078459d2e1c6d8967a100.tar.xz
* Remove trailing whitespace
* Convert tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrBuilder.h')
-rw-r--r--lib/Target/X86/X86InstrBuilder.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/X86InstrBuilder.h b/lib/Target/X86/X86InstrBuilder.h
index 65517e3b41..95d7f927d8 100644
--- a/lib/Target/X86/X86InstrBuilder.h
+++ b/lib/Target/X86/X86InstrBuilder.h
@@ -1,10 +1,10 @@
//===-- X86InstrBuilder.h - Functions to aid building x86 insts -*- C++ -*-===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file exposes functions that may be used with BuildMI from the
@@ -37,17 +37,17 @@ struct X86AddressMode {
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;
}