diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-04 23:50:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-04 23:50:19 +0000 |
commit | 79413956d48b07c17b9600b8433089c0784b9fd6 (patch) | |
tree | 7d322436f511e0aaa753f424d90ab0d609ce2aee /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 2ca529ce61f63caed2484b7ee19018df63d7cd12 (diff) | |
download | llvm-79413956d48b07c17b9600b8433089c0784b9fd6.zip llvm-79413956d48b07c17b9600b8433089c0784b9fd6.tar.gz llvm-79413956d48b07c17b9600b8433089c0784b9fd6.tar.bz2 |
change getCurFunctionDecl to skip through Block contexts to find
the containing block. Introduce a new getCurFunctionOrMethodDecl
method to check to see if we're in a function or objc method.
Minor cleanups to other related places. This fixes rdar://6405429.
llvm-svn: 60564
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions