mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
BFI: Add constructor for Weight
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -322,6 +322,8 @@ public:
|
||||
BlockNode TargetNode;
|
||||
uint64_t Amount;
|
||||
Weight() : Type(Local), Amount(0) {}
|
||||
Weight(DistType Type, BlockNode TargetNode, uint64_t Amount)
|
||||
: Type(Type), TargetNode(TargetNode), Amount(Amount) {}
|
||||
};
|
||||
|
||||
/// \brief Distribution of unscaled probability weight.
|
||||
|
||||
Reference in New Issue
Block a user