diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index f1edab71c2c..da36a6f9061 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -92,7 +92,7 @@ def t_addrmode_rr : Operand, // def t_addrmode_s4 : Operand, ComplexPattern { - 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, // def t_addrmode_s2 : Operand, ComplexPattern { - 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, // def t_addrmode_s1 : Operand, ComplexPattern { - string EncoderMethod = "getAddrModeS1OpValue"; + let EncoderMethod = "getAddrModeS1OpValue"; let PrintMethod = "printThumbAddrModeS1Operand"; let MIOperandInfo = (ops tGPR:$base, i32imm:$offsimm, tGPR:$offsreg); let ParserMatchClass = MemModeThumbAsmOperand;