mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[Stackmaps] Pacify windows buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a705794866
commit
30e4655a8a
@ -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;
|
||||
|
@ -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(MCStreamer &OS,
|
||||
|
||||
/// 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!");
|
||||
|
Loading…
Reference in New Issue
Block a user