[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Reid Spencer
reid at x10sys.com
Tue Jan 30 12:10:09 PST 2007
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.165 -> 1.166
---
Log message:
For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid
confusion with external linkage types.
---
Diffs of the changes: (+2 -2)
Execution.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.165 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.166
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.165 Sat Jan 20 18:29:25 2007
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Tue Jan 30 14:08:37 2007
@@ -1137,7 +1137,7 @@
// Check to see if this is an intrinsic function call...
if (Function *F = CS.getCalledFunction())
- if (F->isExternal ())
+ if (F->isDeclaration ())
switch (F->getIntrinsicID()) {
case Intrinsic::not_intrinsic:
break;
@@ -1726,7 +1726,7 @@
StackFrame.CurFunction = F;
// Special handling for external functions.
- if (F->isExternal()) {
+ if (F->isDeclaration()) {
GenericValue Result = callExternalFunction (F, ArgVals);
// Simulate a 'ret' instruction of the appropriate type.
popStackAndReturnValueToCaller (F->getReturnType (), Result);
More information about the llvm-commits
mailing list