aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCAsmLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCAsmLayout.h')
-rw-r--r--include/llvm/MC/MCAsmLayout.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/llvm/MC/MCAsmLayout.h b/include/llvm/MC/MCAsmLayout.h
index d2b5e4a..d448625 100644
--- a/include/llvm/MC/MCAsmLayout.h
+++ b/include/llvm/MC/MCAsmLayout.h
@@ -22,26 +22,13 @@ class MCAssembler;
/// even during the relaxation process.
class MCAsmLayout {
private:
- uint64_t CurrentLocation;
-
MCAssembler &Assembler;
public:
- MCAsmLayout(MCAssembler &_Assembler)
- : CurrentLocation(0), Assembler(_Assember) {}
+ MCAsmLayout(MCAssembler &_Assembler) : Assembler(_Assembler) {}
/// Get the assembler object this is a layout for.
MCAssembler &getAssembler() { return Assembler; }
-
- /// Get the current location value, i.e. that value of the '.' expression.
- uin64_t getCurrentLocation() {
- return CurrentLocation;
- }
-
- /// Set the current location.
- void setCurrentLocation(uint64_t Value) {
- CurrentLocation = Value;
- }
};
} // end namespace llvm