summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-12-03 19:31:00 +0000
committerJim Grosbach <grosbach@apple.com>2010-12-03 19:31:00 +0000
commit0b951ceb02c43c157022f284881da7d2f7daf58d (patch)
treeac14cbf3ae5f00d66d57d9054e6b11631091bf90
parent68be956fff5db5152f5b0ec7e94c42b14e92a3e8 (diff)
downloadexternal_llvm-0b951ceb02c43c157022f284881da7d2f7daf58d.zip
external_llvm-0b951ceb02c43c157022f284881da7d2f7daf58d.tar.gz
external_llvm-0b951ceb02c43c157022f284881da7d2f7daf58d.tar.bz2
No need to declare EncoderMethod property anymore; just assign to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120831 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td
index f1edab7..da36a6f 100644
--- a/lib/Target/ARM/ARMInstrThumb.td
+++ b/lib/Target/ARM/ARMInstrThumb.td
@@ -92,7 +92,7 @@ def t_addrmode_rr : Operand<i32>,
//
def t_addrmode_s4 : Operand<i32>,
ComplexPattern<i32, 3, "SelectThumbAddrModeS4", []> {
- string EncoderMethod = "getAddrModeS4OpValue";
+ let EncoderMethod = "getAddrModeS4OpValue";
let PrintMethod = "printThumbAddrModeS4Operand";
let MIOperandInfo = (ops tGPR:$base, i32imm:$offsimm, tGPR:$offsreg);
let ParserMatchClass = MemModeThumbAsmOperand;
@@ -103,7 +103,7 @@ def t_addrmode_s4 : Operand<i32>,
//
def t_addrmode_s2 : Operand<i32>,
ComplexPattern<i32, 3, "SelectThumbAddrModeS2", []> {
- string EncoderMethod = "getAddrModeS2OpValue";
+ let EncoderMethod = "getAddrModeS2OpValue";
let PrintMethod = "printThumbAddrModeS2Operand";
let MIOperandInfo = (ops tGPR:$base, i32imm:$offsimm, tGPR:$offsreg);
let ParserMatchClass = MemModeThumbAsmOperand;
@@ -114,7 +114,7 @@ def t_addrmode_s2 : Operand<i32>,
//
def t_addrmode_s1 : Operand<i32>,
ComplexPattern<i32, 3, "SelectThumbAddrModeS1", []> {
- string EncoderMethod = "getAddrModeS1OpValue";
+ let EncoderMethod = "getAddrModeS1OpValue";
let PrintMethod = "printThumbAddrModeS1Operand";
let MIOperandInfo = (ops tGPR:$base, i32imm:$offsimm, tGPR:$offsreg);
let ParserMatchClass = MemModeThumbAsmOperand;