summaryrefslogtreecommitdiff
path: root/src/compiler_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler_test.cc')
-rw-r--r--src/compiler_test.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/compiler_test.cc b/src/compiler_test.cc
index 229235a855..63881fdccd 100644
--- a/src/compiler_test.cc
+++ b/src/compiler_test.cc
@@ -1,16 +1,17 @@
// Copyright 2011 Google Inc. All Rights Reserved.
+#include "compiler.h"
+
+#include <stdint.h>
+#include <stdio.h>
+
+#include "UniquePtr.h"
#include "class_linker.h"
#include "common_test.h"
-#include "compiler.h"
#include "dex_cache.h"
#include "dex_file.h"
#include "heap.h"
#include "object.h"
-#include "scoped_ptr.h"
-
-#include <stdint.h>
-#include <stdio.h>
namespace art {
@@ -114,7 +115,7 @@ class CompilerTest : public CommonTest {
#endif // __arm__
}
private:
- scoped_ptr<const DexFile> dex_file_;
+ UniquePtr<const DexFile> dex_file_;
};
// TODO renenable when compiler can handle libcore