diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-05-07 00:16:31 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-05-07 00:16:31 +0000 |
commit | 116b27444a206a2831d88fea5ce34ced8184ceca (patch) | |
tree | a32dd416fccac9d40ccc7527bd6ac2a3972e95eb /include/llvm | |
parent | 0a8eb57c3d57a79f382b8db32059ea3689f7a076 (diff) | |
download | external_llvm-116b27444a206a2831d88fea5ce34ced8184ceca.zip external_llvm-116b27444a206a2831d88fea5ce34ced8184ceca.tar.gz external_llvm-116b27444a206a2831d88fea5ce34ced8184ceca.tar.bz2 |
Make DwarfWriter::RecordInlinedFnStart more like the other DwarfWriter's methods:
-Have it return a label ID
-Remove the unused Instruction parameter
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/DwarfWriter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h index 8e680e3..facd5f6 100644 --- a/include/llvm/CodeGen/DwarfWriter.h +++ b/include/llvm/CodeGen/DwarfWriter.h @@ -106,11 +106,11 @@ public: bool ShouldEmitDwarfDebug() const; //// RecordInlinedFnStart - Indicate the start of a inlined function. - void RecordInlinedFnStart(Instruction *I, DISubprogram &SP, unsigned LabelID, - DICompileUnit CU, unsigned Line, unsigned Col); + unsigned RecordInlinedFnStart(DISubprogram SP, DICompileUnit CU, + unsigned Line, unsigned Col); /// RecordInlinedFnEnd - Indicate the end of inlined subroutine. - unsigned RecordInlinedFnEnd(DISubprogram &SP); + unsigned RecordInlinedFnEnd(DISubprogram SP); /// RecordVariableScope - Record scope for the variable declared by /// DeclareMI. DeclareMI must describe TargetInstrInfo::DECLARE. |