summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-11-14 00:21:21 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-14 00:21:21 +0000
commit963ab93759c051af21c07669f0d3f345e60b1da8 (patch)
treec76704c266ef4687eab425612ddf3fd24f93fe8d /compiler/optimizing/codegen_test.cc
parentf20076ff813b8012096ff31af236d59db3c0f4e1 (diff)
parentd582fa4ea62083a7598dded5b82dc2198b3daac7 (diff)
Merge "Instruction set features for ARM64, MIPS and X86."
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
-rw-r--r--compiler/optimizing/codegen_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc
index 9752b1d34b..fee3ea6f8c 100644
--- a/compiler/optimizing/codegen_test.cc
+++ b/compiler/optimizing/codegen_test.cc
@@ -16,6 +16,7 @@
#include <functional>
+#include "arch/instruction_set.h"
#include "base/macros.h"
#include "builder.h"
#include "code_generator_arm.h"
@@ -25,7 +26,6 @@
#include "common_compiler_test.h"
#include "dex_file.h"
#include "dex_instruction.h"
-#include "instruction_set.h"
#include "nodes.h"
#include "optimizing_unit_test.h"
#include "prepare_for_register_allocation.h"
@@ -39,7 +39,7 @@ namespace art {
class InternalCodeAllocator : public CodeAllocator {
public:
- InternalCodeAllocator() { }
+ InternalCodeAllocator() : size_(0) { }
virtual uint8_t* Allocate(size_t size) {
size_ = size;