Don't assert if we can't constant fold extract/insertvalue
[oota-llvm.git] / include / llvm / CodeGen / MachineCodeEmitter.h
index 428aada7ba13e6ac5808adb50a73be5cc32a7140..9e41e6e9c1ee8c343bf17ed9c98b56fe802e1445 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "llvm/Support/DataTypes.h"
 #include "llvm/Support/DebugLoc.h"
+#include <string>
 
 namespace llvm {
 
@@ -49,6 +50,7 @@ class MCSymbol;
 /// occurred, more memory is allocated, and we reemit the code into it.
 /// 
 class MachineCodeEmitter {
+  virtual void anchor();
 protected:
   /// BufferBegin/BufferEnd - Pointers to the start and end of the memory
   /// allocated for this code buffer.