From 530e9a8f544fe891320e77fde8cb3411d8cdf342 Mon Sep 17 00:00:00 2001
From: Xinliang David Li <davidxl@google.com>
Date: Tue, 23 Aug 2016 16:00:54 +0000
Subject: [PATCH] Fix windows build failure

llvm-svn: 279525
---
 llvm/include/llvm/IR/Instruction.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/include/llvm/IR/Instruction.h b/llvm/include/llvm/IR/Instruction.h
index 8305a707d70a..027d9f3eaf5d 100644
--- a/llvm/include/llvm/IR/Instruction.h
+++ b/llvm/include/llvm/IR/Instruction.h
@@ -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