Replace the dangling context hotfix with an assertion.
[oota-llvm.git] / lib / CodeGen / MachineScheduler.cpp
index 3144dfe4d391bcf1690c113749562d2f4b86b013..df756ba6e3f9e7bf6e5ce4c2cc19ae8b98ab7a32 100644 (file)
@@ -72,6 +72,10 @@ static cl::opt<bool> VerifyScheduling("verify-misched", cl::Hidden,
 // DAG subtrees must have at least this many nodes.
 static const unsigned MinSubtreeSize = 8;
 
+// pin vtable to this file
+void MachineSchedStrategy::anchor() {}
+void ScheduleDAGMutation::anchor() {}
+
 //===----------------------------------------------------------------------===//
 // Machine Instruction Scheduling Pass and Registry
 //===----------------------------------------------------------------------===//