diff options
Diffstat (limited to 'include/llvm/MC/ConstantPools.h')
| -rw-r--r-- | include/llvm/MC/ConstantPools.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/MC/ConstantPools.h b/include/llvm/MC/ConstantPools.h index c34211c2bd12..5d4e32a672dd 100644 --- a/include/llvm/MC/ConstantPools.h +++ b/include/llvm/MC/ConstantPools.h @@ -63,6 +63,8 @@ public:    // Return true if the constant pool is empty    bool empty(); + +  void clearCache();  };  class AssemblerConstantPools { @@ -86,6 +88,7 @@ class AssemblerConstantPools {  public:    void emitAll(MCStreamer &Streamer);    void emitForCurrentSection(MCStreamer &Streamer); +  void clearCacheForCurrentSection(MCStreamer &Streamer);    const MCExpr *addEntry(MCStreamer &Streamer, const MCExpr *Expr,                           unsigned Size, SMLoc Loc);  | 
