Allow target to specify alignment for function stub.
[oota-llvm.git] / include / llvm / CodeGen / MachineCodeEmitter.h
index 758a16730984dc752869e5ca4a08ba3d24488f6e..018c5e5a3a6b701bf2d3e29aad3a7d4d5cc4afff 100644 (file)
@@ -80,7 +80,7 @@ public:
   /// have constant pools, the can only use the other emitByte*/emitWord*
   /// methods.
   ///
-  virtual void startFunctionStub(unsigned StubSize) = 0;
+  virtual void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) = 0;
 
   /// finishFunctionStub - This callback is invoked to terminate a function
   /// stub.