Fix windows build failure

llvm-svn: 279525
This commit is contained in:
Xinliang David Li 2016-08-23 16:00:54 +00:00
parent 75ef78c14d
commit 530e9a8f54
1 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,8 @@ public:
/// Copy metadata from \p SrcInst to this instruction. \p WL, if not empty,
/// specifies the list of meta data that needs to be copied. If \p WL is
/// empty, all meta data will be copied.
void copyMetadata(const Instruction &SrcInst, ArrayRef<unsigned> WL = {});
void copyMetadata(const Instruction &SrcInst,
ArrayRef<unsigned> WL = ArrayRef<unsigned>());
/// If the instruction has "branch_weights" MD_prof metadata and the MDNode
/// has three operands (including name string), swap the order of the