Index: src/IceAssembler.h |
diff --git a/src/IceAssembler.h b/src/IceAssembler.h |
index 69faa95f98809635ecb66ffede847d95310957a4..de4dd869dab99a5e29d2cdbd2568fad7217c77d0 100644 |
--- a/src/IceAssembler.h |
+++ b/src/IceAssembler.h |
@@ -155,9 +155,7 @@ class Assembler { |
Assembler &operator=(const Assembler &) = delete; |
public: |
- Assembler() |
- : Allocator(), FunctionName(""), IsInternal(false), Preliminary(false), |
- Buffer(*this) {} |
+ Assembler() : Allocator(), Buffer(*this) {} |
virtual ~Assembler() = default; |
// Allocate a chunk of bytes using the per-Assembler allocator. |
@@ -217,13 +215,13 @@ private: |
// FunctionName and IsInternal are transferred from the original Cfg |
// object, since the Cfg object may be deleted by the time the |
// assembler buffer is emitted. |
- IceString FunctionName; |
- bool IsInternal; |
+ IceString FunctionName = ""; |
+ bool IsInternal = false; |
// Preliminary indicates whether a preliminary pass is being made |
// for calculating bundle padding (Preliminary=true), versus the |
// final pass where all changes to label bindings, label links, and |
// relocation fixups are fully committed (Preliminary=false). |
- bool Preliminary; |
+ bool Preliminary = false; |
protected: |
// Buffer's constructor uses the Allocator, so it needs to appear after it. |