[llvm] r207807 - [Stackmaps] Pacify windows buildbot.
Juergen Ributzka
juergen at apple.com
Thu May 1 15:39:26 PDT 2014
Author: ributzka
Date: Thu May 1 17:39:26 2014
New Revision: 207807
URL: http://llvm.org/viewvc/llvm-project?rev=207807&view=rev
Log:
[Stackmaps] Pacify windows buildbot.
Modified:
llvm/trunk/include/llvm/CodeGen/StackMaps.h
llvm/trunk/lib/CodeGen/StackMaps.cpp
Modified: llvm/trunk/include/llvm/CodeGen/StackMaps.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/StackMaps.h?rev=207807&r1=207806&r2=207807&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/StackMaps.h (original)
+++ llvm/trunk/include/llvm/CodeGen/StackMaps.h Thu May 1 17:39:26 2014
@@ -132,7 +132,7 @@ public:
void serializeToStackMapSection();
private:
- const char *WSMP = "Stack Maps: ";
+ static const char *WSMP;
typedef SmallVector<Location, 8> LocationVec;
typedef SmallVector<LiveOutReg, 8> LiveOutVec;
Modified: llvm/trunk/lib/CodeGen/StackMaps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackMaps.cpp?rev=207807&r1=207806&r2=207807&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackMaps.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackMaps.cpp Thu May 1 17:39:26 2014
@@ -33,6 +33,8 @@ using namespace llvm;
static cl::opt<int> StackMapVersion("stackmap-version", cl::init(1),
cl::desc("Specify the stackmap encoding version (default = 1)"));
+const char *StackMaps::WSMP = "Stack Maps: ";
+
PatchPointOpers::PatchPointOpers(const MachineInstr *MI)
: MI(MI),
HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() &&
@@ -472,6 +474,7 @@ void StackMaps::emitCallsiteEntries(MCSt
/// Serialize the stackmap data.
void StackMaps::serializeToStackMapSection() {
+ (void) WSMP;
// Bail out if there's no stack map data.
assert((!CSInfos.empty() || (CSInfos.empty() && ConstPool.empty())) &&
"Expected empty constant pool too!");
More information about the llvm-commits
mailing list