| Index: src/IceGlobalContext.h
|
| diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
|
| index 0a0ed75ad7437502fa23336e071136c4d7ca3b2f..1b66294c7e98bf08f7255445036e1ceae37b81e5 100644
|
| --- a/src/IceGlobalContext.h
|
| +++ b/src/IceGlobalContext.h
|
| @@ -33,7 +33,7 @@ class FuncSigType;
|
| // This class collects rudimentary statistics during translation.
|
| class CodeStats {
|
| CodeStats(const CodeStats &) = delete;
|
| - // CodeStats &operator=(const CodeStats &) = delete;
|
| + CodeStats &operator=(const CodeStats &) = default;
|
|
|
| public:
|
| CodeStats()
|
| @@ -90,15 +90,6 @@ public:
|
| IceString getTestPrefix() const { return TestPrefix; }
|
| IceString mangleName(const IceString &Name) const;
|
|
|
| - // The purpose of HasEmitted is to add a header comment at the
|
| - // beginning of assembly code emission, doing it once per file
|
| - // rather than once per function.
|
| - bool testAndSetHasEmittedFirstMethod() {
|
| - bool HasEmitted = HasEmittedFirstMethod;
|
| - HasEmittedFirstMethod = true;
|
| - return HasEmitted;
|
| - }
|
| -
|
| // Manage Constants.
|
| // getConstant*() functions are not const because they might add
|
| // something to the constant pool.
|
| @@ -214,7 +205,6 @@ private:
|
| const OptLevel Opt;
|
| const IceString TestPrefix;
|
| const ClFlags &Flags;
|
| - bool HasEmittedFirstMethod;
|
| RandomNumberGenerator RNG;
|
| std::unique_ptr<ELFObjectWriter> ObjectWriter;
|
| CodeStats StatsFunction;
|
|
|