summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-11-05 02:42:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-05 02:42:56 +0000
commit78a3233313260665fe82ba56257855e043bca3d4 (patch)
tree46622bf088b3f30d2c6d8a5b548519137c88c867 /compiler/driver/compiler_driver_test.cc
parentfe50a0f644bf57a92612d08ad21dc4ea5a2f652a (diff)
parent277ccbd200ea43590dfc06a93ae184a765327ad0 (diff)
Merge "ART: More warnings"
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
-rw-r--r--compiler/driver/compiler_driver_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc
index 9ae9bd400a..5a0ec2fa57 100644
--- a/compiler/driver/compiler_driver_test.cc
+++ b/compiler/driver/compiler_driver_test.cc
@@ -86,11 +86,11 @@ class CompilerDriverTest : public CommonCompilerTest {
hs.NewHandle(soa.Decode<mirror::ClassLoader*>(class_loader)));
mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader);
CHECK(c != NULL);
- for (size_t i = 0; i < c->NumDirectMethods(); i++) {
- MakeExecutable(c->GetDirectMethod(i));
+ for (size_t j = 0; j < c->NumDirectMethods(); j++) {
+ MakeExecutable(c->GetDirectMethod(j));
}
- for (size_t i = 0; i < c->NumVirtualMethods(); i++) {
- MakeExecutable(c->GetVirtualMethod(i));
+ for (size_t j = 0; j < c->NumVirtualMethods(); j++) {
+ MakeExecutable(c->GetVirtualMethod(j));
}
}
}