mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
MC: Constify MCAsmLayout argument to MCExpr::EvaluteAs...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,7 +37,7 @@ void X86MCTargetExpr::PrintImpl(raw_ostream &OS) const {
|
||||
}
|
||||
|
||||
bool X86MCTargetExpr::EvaluateAsRelocatableImpl(MCValue &Res,
|
||||
MCAsmLayout *Layout) const {
|
||||
const MCAsmLayout *Layout) const {
|
||||
// FIXME: I don't know if this is right, it followed MCSymbolRefExpr.
|
||||
|
||||
// Evaluate recursively if this is a variable.
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
MCContext &Ctx);
|
||||
|
||||
void PrintImpl(raw_ostream &OS) const;
|
||||
bool EvaluateAsRelocatableImpl(MCValue &Res, MCAsmLayout *Layout) const;
|
||||
bool EvaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout) const;
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
Reference in New Issue
Block a user