* Move stub allocation inside the JITEmitter, instead of exposing a
[oota-llvm.git] / lib / Target / ARM / ARMJITInfo.h
index 7dfeed8b7bf3df34e92faad15cd17ceb14d810ed..ff332b7ee15bc25faf228599348b4f252f71dd35 100644 (file)
@@ -61,6 +61,10 @@ namespace llvm {
     virtual void *emitGlobalValueIndirectSym(const GlobalValue* GV, void *ptr,
                                             JITCodeEmitter &JCE);
 
+    // getStubLayout - Returns the size and alignment of the largest call stub
+    // on ARM.
+    virtual StubLayout getStubLayout();
+
     /// emitFunctionStub - Use the specified JITCodeEmitter object to emit a
     /// small native function that simply calls the function at the specified
     /// address.