summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-11-20 20:22:31 -0800
committer Andreas Gampe <agampe@google.com> 2014-11-20 20:23:27 -0800
commitab65c67b17ab908c671fba4b4e6846f72192fa5a (patch)
tree979ab50cee6e41f6d26d6e2db453b065f782c958
parent5fb0dcd1ea80489ec2894f1b3d0c4fdf5865d687 (diff)
ART: Fix uninitialized value in arm32 assembler test
The first_ field was meant to be initialized for each generation invocation. Change-Id: If4d36d84afe24d8ddc6bb9d25b85c764285e166a
-rw-r--r--compiler/utils/arm/assembler_arm32_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/arm/assembler_arm32_test.cc b/compiler/utils/arm/assembler_arm32_test.cc
index 30b89e1ba4..837fe1ec18 100644
--- a/compiler/utils/arm/assembler_arm32_test.cc
+++ b/compiler/utils/arm/assembler_arm32_test.cc
@@ -421,6 +421,7 @@ class AssemblerArm32Test : public AssemblerArmTest<arm::Arm32Assembler,
template <typename... Args>
void GenericTemplateHelper(std::function<void(Args...)> f, bool without_pc,
std::string fmt, std::string test_name) {
+ first_ = false;
WarnOnCombinations(CountHelper<Args...>(without_pc));
std::ostringstream oss;