mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
Make EmitFunctionHeader virtual
This is to fix problems introduced by r232481. For HSAIL, this function does essentially nothing desirable, and injects unwanted / incorrect stuff before the function. The only thing it really needs to do is call EmitFunctionEntryLabel in this case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c068b91ae1
commit
69dd37580c
@ -502,7 +502,7 @@ private:
|
||||
mutable unsigned Counter;
|
||||
|
||||
/// This method emits the header for the current function.
|
||||
void EmitFunctionHeader();
|
||||
virtual void EmitFunctionHeader();
|
||||
|
||||
/// Emit a blob of inline asm to the output streamer.
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user