Index: src/compiler/raw-machine-assembler.h |
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h |
index 507db4e5eaad91c61463064342ce57a9837ac5f3..c1965c24c02834bfd7f370b7f7a1725970b13005 100644 |
--- a/src/compiler/raw-machine-assembler.h |
+++ b/src/compiler/raw-machine-assembler.h |
@@ -700,13 +700,17 @@ class RawMachineAssembler { |
class RawMachineLabel final { |
public: |
- RawMachineLabel(); |
+ enum Type { kDeferred, kNonDeferred }; |
+ |
+ explicit RawMachineLabel(Type type = kNonDeferred) |
+ : deferred_(type == kDeferred) {} |
~RawMachineLabel(); |
private: |
- BasicBlock* block_; |
- bool used_; |
- bool bound_; |
+ BasicBlock* block_ = nullptr; |
+ bool used_ = false; |
+ bool bound_ = false; |
+ bool deferred_; |
friend class RawMachineAssembler; |
DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
}; |