diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-23 23:39:15 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-23 23:39:15 +0000 |
commit | 6285bcfe8b52802c9ac5893b9a412d26d41fa7b4 (patch) | |
tree | ba22b60f39eb3da331d790e91adf88c6cdb60c8e /lib/MC | |
parent | 4b92609fcbedfcddce2ed0c5cee84d95cb2d136c (diff) | |
download | external_llvm-6285bcfe8b52802c9ac5893b9a412d26d41fa7b4.zip external_llvm-6285bcfe8b52802c9ac5893b9a412d26d41fa7b4.tar.gz external_llvm-6285bcfe8b52802c9ac5893b9a412d26d41fa7b4.tar.bz2 |
Update for MCImm -> MCValue rename.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/MCContext.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index a730a07..be80523 100644 --- a/lib/MC/MCContext.cpp +++ b/lib/MC/MCContext.cpp @@ -1,4 +1,4 @@ -//===- lib/MachineCode/MCContext.cpp - Machine Code Context ---------------===// +//===- lib/MC/MCContext.cpp - Machine Code Context ------------------------===// // // The LLVM Compiler Infrastructure // @@ -10,9 +10,9 @@ #include "llvm/MC/MCContext.h" #include "llvm/MC/MCAtom.h" -#include "llvm/MC/MCImm.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/MCSymbol.h" +#include "llvm/MC/MCValue.h" using namespace llvm; MCContext::MCContext() @@ -63,12 +63,12 @@ void MCContext::ClearSymbolValue(MCSymbol *Sym) { SymbolValues.erase(Sym); } -void MCContext::SetSymbolValue(MCSymbol *Sym, const MCImm &Value) { +void MCContext::SetSymbolValue(MCSymbol *Sym, const MCValue &Value) { SymbolValues[Sym] = Value; } -const MCImm *MCContext::GetSymbolValue(MCSymbol *Sym) const { - DenseMap<MCSymbol*, MCImm>::iterator it = SymbolValues.find(Sym); +const MCValue *MCContext::GetSymbolValue(MCSymbol *Sym) const { + DenseMap<MCSymbol*, MCValue>::iterator it = SymbolValues.find(Sym); if (it == SymbolValues.end()) return 0; |