diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-19 19:46:13 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-19 19:46:13 +0000 |
| commit | c35681b2986163ce5a4d8952c9efb6a2a24e8da5 (patch) | |
| tree | cb1cc294d092a9743f759fb02fd6b9b56a3cc73b /llvm/lib/Target | |
| parent | bf43525a2933c3ddb60f00a89e22c52c06bc77d6 (diff) | |
| download | bcm5719-llvm-c35681b2986163ce5a4d8952c9efb6a2a24e8da5.tar.gz bcm5719-llvm-c35681b2986163ce5a4d8952c9efb6a2a24e8da5.zip | |
Generalize mcasmstreamer data emission APIs to take an address space
identifier. There is no way to work around it.
llvm-svn: 93896
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 132738efdfb..ac30cd0883a 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -629,7 +629,7 @@ bool ARMAsmParser::ParseDirectiveWord(unsigned Size, SMLoc L) { if (getParser().ParseExpression(Value)) return true; - getParser().getStreamer().EmitValue(Value, Size); + getParser().getStreamer().EmitValue(Value, Size, 0/*addrspace*/); if (getLexer().is(AsmToken::EndOfStatement)) break; diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp index c2459c9e654..a9f87812cd7 100644 --- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -470,7 +470,7 @@ bool X86ATTAsmParser::ParseDirectiveWord(unsigned Size, SMLoc L) { if (getParser().ParseExpression(Value)) return true; - getParser().getStreamer().EmitValue(Value, Size); + getParser().getStreamer().EmitValue(Value, Size, 0 /*addrspace*/); if (getLexer().is(AsmToken::EndOfStatement)) break; |

