summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript
diff options
context:
space:
mode:
authorStephane Sezer <sas@cd80.net>2017-05-23 19:22:31 +0000
committerStephane Sezer <sas@cd80.net>2017-05-23 19:22:31 +0000
commite3bb52bb2ef02f6aa8fc44cdde11e8fd260cc701 (patch)
treef1ba79056887add4f952763c7a4d3bbc8ec8c63f /lldb/source/Plugins/LanguageRuntime/RenderScript
parent7daf62e7436ad5ff7fced724195371b1a28b0423 (diff)
downloadbcm5719-llvm-e3bb52bb2ef02f6aa8fc44cdde11e8fd260cc701.tar.gz
bcm5719-llvm-e3bb52bb2ef02f6aa8fc44cdde11e8fd260cc701.zip
Fix bad change in RenderScriptx86ABIFixups.cpp, forgot to change everything necessary
Summary: I didn't change all instances of i to I in this loop. I am a bad person and should feel bad. :( Reviewers: sas Differential Revision: https://reviews.llvm.org/D33456 Change by Alex Langford <apl@fb.com> llvm-svn: 303677
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
index 96e2351fb6b..439d372fade 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
@@ -257,9 +257,9 @@ bool fixupRSAllocationStructByValCalls(llvm::Module &module) {
for (unsigned I = call_attribs.index_begin(); I != call_attribs.index_end();
I++) {
// if this argument is passed by val
- if (call_attribs.hasAttribute(i, llvm::Attribute::ByVal)) {
+ if (call_attribs.hasAttribute(I, llvm::Attribute::ByVal)) {
// strip away the byval attribute
- call_inst->removeAttribute(i, llvm::Attribute::ByVal);
+ call_inst->removeAttribute(I, llvm::Attribute::ByVal);
changed = true;
}
}
OpenPOWER on IntegriCloud