commit | c4217a663232c014ee054f55bd90ece79803c963 | [log] [tgz] |
---|---|---|
author | Sean Callanan <scallanan@apple.com> | Mon Dec 06 23:53:20 2010 +0000 |
committer | Sean Callanan <scallanan@apple.com> | Mon Dec 06 23:53:20 2010 +0000 |
tree | 3d94c3bafe0206835c1e2adcff5fd1d6fe20499a | |
parent | 7b9fcc06843d624787a9115d14285a6d6a6cca53 [diff] |
Fixes to make id work as well as well as fix minor errors when calling built-ins. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@121070 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRForTarget.cpp b/source/Expression/IRForTarget.cpp index 5910098..6d730d9 100644 --- a/source/Expression/IRForTarget.cpp +++ b/source/Expression/IRForTarget.cpp
@@ -964,6 +964,10 @@ if (!fun) return false; } + else if (const_expr && const_expr->getOpcode() == Instruction::IntToPtr) + { + return true; // already resolved + } else { return false;