diff options
| author | Sean Callanan <scallanan@apple.com> | 2010-12-06 23:53:20 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2010-12-06 23:53:20 +0000 |
| commit | f6c7308bb1e04a08e711abec9ee3afb1a7dc4aab (patch) | |
| tree | 3bb558f8c7f1eb25ab78667c19555fd5fa4971c1 /lldb/source/Expression/IRForTarget.cpp | |
| parent | a4d7830017bf6b6ff6be795b380f3f4c6afb7647 (diff) | |
| download | bcm5719-llvm-f6c7308bb1e04a08e711abec9ee3afb1a7dc4aab.tar.gz bcm5719-llvm-f6c7308bb1e04a08e711abec9ee3afb1a7dc4aab.zip | |
Fixes to make id work as well as well as fix minor errors
when calling built-ins.
llvm-svn: 121070
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
| -rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 591009831c6..6d730d90bdf 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -964,6 +964,10 @@ IRForTarget::MaybeHandleCall (Module &llvm_module, CallInst *llvm_call_inst) if (!fun) return false; } + else if (const_expr && const_expr->getOpcode() == Instruction::IntToPtr) + { + return true; // already resolved + } else { return false; |

