X86: Use enums for memory operand decoding instead of integer literals.
Summary: X86BaseInfo.h defines an enum for the offset of each operand in a memory operand sequence. Some code uses it and some does not. This patch replaces (hopefully) all remaining locations where an integer literal was used instead of this enum. No functionality change intended. Reviewers: nadav CC: llvm-commits, t.p.northover Differential Revision: http://llvm-reviews.chandlerc.com/D3108 llvm-svn: 204158
Showing
- llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp 8 additions, 8 deletionsllvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
- llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp 8 additions, 8 deletionsllvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp
- llvm/lib/Target/X86/X86AsmPrinter.cpp 18 additions, 18 deletionsllvm/lib/Target/X86/X86AsmPrinter.cpp
- llvm/lib/Target/X86/X86InstrInfo.h 10 additions, 9 deletionsllvm/lib/Target/X86/X86InstrInfo.h
- llvm/lib/Target/X86/X86MCInstLower.cpp 10 additions, 10 deletionsllvm/lib/Target/X86/X86MCInstLower.cpp
Loading
Please register or sign in to comment