mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +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:
@ -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!");
|
||||
|
Reference in New Issue
Block a user