diff options
| author | Devang Patel <dpatel@apple.com> | 2011-03-01 22:59:40 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-03-01 22:59:40 +0000 |
| commit | 3bc2dedb403f23e38f4ab765fe2b78bd101f041d (patch) | |
| tree | 8aa56b3ad3bf83216aa5a4dbed812d2ab44555fc /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | 6c622ef1bcda9f544cbc64de6cce12cbf7dd08b2 (diff) | |
| download | llvm-3bc2dedb403f23e38f4ab765fe2b78bd101f041d.zip llvm-3bc2dedb403f23e38f4ab765fe2b78bd101f041d.tar.gz llvm-3bc2dedb403f23e38f4ab765fe2b78bd101f041d.tar.bz2 | |
Encode argument numbering in debug info so that code generator can emit them in order.
This fixes few blocks.exp regressions.
llvm-svn: 126795
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 0edd0f0..ef006d9 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 |
