summaryrefslogtreecommitdiffstats
path: root/compiler/oat_test.cc
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2013-12-18 11:41:30 +0100
committerSebastien Hertz <shertz@google.com>2013-12-18 11:44:47 +0100
commit102a8f27cc8d719f4bf58aa294475112c1ae66b9 (patch)
tree35f1dd34fc6e0866aa7fafc0989d2eb096cbd12b /compiler/oat_test.cc
parent9235ed3182eb19d04240b0a4367481ef2d9a25a7 (diff)
downloadart-102a8f27cc8d719f4bf58aa294475112c1ae66b9.zip
art-102a8f27cc8d719f4bf58aa294475112c1ae66b9.tar.gz
art-102a8f27cc8d719f4bf58aa294475112c1ae66b9.tar.bz2
Fix build - test issues.
Fix compilation errors in tests. Change-Id: Id2405edc2eec5bef9ebf5f241db03a0bb4a6b5a3
Diffstat (limited to 'compiler/oat_test.cc')
-rw-r--r--compiler/oat_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc
index fd0a69d..94bc30d 100644
--- a/compiler/oat_test.cc
+++ b/compiler/oat_test.cc
@@ -79,7 +79,11 @@ TEST_F(OatTest, WriteRead) {
InstructionSet insn_set = kIsTargetBuild ? kThumb2 : kX86;
InstructionSetFeatures insn_features;
- compiler_driver_.reset(new CompilerDriver(compiler_backend, insn_set,
+ verified_methods_data_.reset(new VerifiedMethodsData);
+ method_inliner_map_.reset(new DexFileToMethodInlinerMap);
+ compiler_driver_.reset(new CompilerDriver(verified_methods_data_.get(),
+ method_inliner_map_.get(),
+ compiler_backend, insn_set,
insn_features, false, NULL, 2, true));
jobject class_loader = NULL;
if (kCompile) {