diff options
author | Devang Patel <dpatel@apple.com> | 2011-03-03 20:13:15 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-03-03 20:13:15 +0000 |
commit | 68a1525290ebe592dfbc008a80c6e3f5121131a9 (patch) | |
tree | 8051dea9cc91107ea20992751bc2e583801d6720 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 34a7ab400ea989fd81685e212979526cac239a73 (diff) | |
download | bcm5719-llvm-68a1525290ebe592dfbc008a80c6e3f5121131a9.tar.gz bcm5719-llvm-68a1525290ebe592dfbc008a80c6e3f5121131a9.zip |
Encode argument numbering in debug info so that code generator can emit them in order.
This fixes few blocks.exp regressions.
llvm-svn: 126960
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 0edd0f01281..ef006d9b204 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1609,7 +1609,7 @@ public: llvm::GlobalValue::LinkageTypes Linkage); /// EmitParmDecl - Emit a ParmVarDecl or an ImplicitParamDecl. - void EmitParmDecl(const VarDecl &D, llvm::Value *Arg); + void EmitParmDecl(const VarDecl &D, llvm::Value *Arg, unsigned ArgNo); /// protectFromPeepholes - Protect a value that we're intending to /// store to the side, but which will probably be used later, from |