summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h
index a35229da910..d4f3154d15c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DIE.h
@@ -451,7 +451,11 @@ namespace llvm {
/// ComputeSize - Calculate the size of the location expression.
///
- unsigned ComputeSize(AsmPrinter *AP);
+ unsigned ComputeSize(AsmPrinter *AP) const;
+
+ /// setSize - Set the size of the location entry.
+ ///
+ void setSize(unsigned Sz) { Size = Sz; }
/// BestForm - Choose the best form for data.
///
@@ -490,7 +494,11 @@ namespace llvm {
/// ComputeSize - Calculate the size of the location expression.
///
- unsigned ComputeSize(AsmPrinter *AP);
+ unsigned ComputeSize(AsmPrinter *AP) const;
+
+ /// setSize - Set the size of the block.
+ ///
+ void setSize(unsigned Sz) { Size = Sz; }
/// BestForm - Choose the best form for data.
///
OpenPOWER on IntegriCloud