From e3bb52bb2ef02f6aa8fc44cdde11e8fd260cc701 Mon Sep 17 00:00:00 2001 From: Stephane Sezer Date: Tue, 23 May 2017 19:22:31 +0000 Subject: [PATCH] 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 llvm-svn: 303677 --- .../RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp | 4 ++-- 1 file 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 96e2351..439d372 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; } } -- 2.7.4