summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-25 21:00:45 +0000
committerDevang Patel <dpatel@apple.com>2008-09-25 21:00:45 +0000
commit4c758ea3e0d31e56773ef74ecac1775c641377e5 (patch)
tree0a109f93cf70b534d01a935be9d78ed558e127fe /llvm/lib/ExecutionEngine/Interpreter
parent87001fd6fd5194a26e00c18a77e65807ca49c1c0 (diff)
downloadbcm5719-llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.tar.gz
bcm5719-llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.zip
Large mechanical patch.
s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. llvm-svn: 56622
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index d73ec062f58..639415d7fea 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -909,9 +909,9 @@ void Interpreter::visitCallSite(CallSite CS) {
// according to the parameter attributes
const Type *Ty = V->getType();
if (Ty->isInteger() && (ArgVals.back().IntVal.getBitWidth() < 32)) {
- if (CS.paramHasAttr(pNum, ParamAttr::ZExt))
+ if (CS.paramHasAttr(pNum, Attribute::ZExt))
ArgVals.back().IntVal = ArgVals.back().IntVal.zext(32);
- else if (CS.paramHasAttr(pNum, ParamAttr::SExt))
+ else if (CS.paramHasAttr(pNum, Attribute::SExt))
ArgVals.back().IntVal = ArgVals.back().IntVal.sext(32);
}
}
OpenPOWER on IntegriCloud