summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-05-15 19:24:12 -0700
committerAndreas Gampe <agampe@google.com>2015-05-21 12:13:37 -0700
commit99ca40cf9d390479a7243b8b3321cad7d9faa2a4 (patch)
tree06e62e6dfb0718f23faaa345212ccacd2e460d5d /dex2oat
parentd58a6deedabf98e7996634bca6d94c6eb2ac3861 (diff)
downloadart-99ca40cf9d390479a7243b8b3321cad7d9faa2a4.zip
art-99ca40cf9d390479a7243b8b3321cad7d9faa2a4.tar.gz
art-99ca40cf9d390479a7243b8b3321cad7d9faa2a4.tar.bz2
ART: Refactor UnstartedRuntime for testing
Expose the UnstartedRuntime implementation functions as private static methods of a class. Add a gtest that can invoke these functions. Add sample tests for String and Memory. Bug: 21173514 (cherry picked from commit 799681b176ad25437ce2849639f54f610dcbf684) Change-Id: Ib5bde6347fafaf7607c642542ea7d5938ff4b1df
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 3cf458a..43bec37 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -1594,7 +1594,7 @@ class Dex2Oat FINAL {
// Initialize maps for unstarted runtime. This needs to be here, as running clinits needs this
// set up.
- interpreter::UnstartedRuntimeInitialize();
+ interpreter::UnstartedRuntime::Initialize();
runtime->GetClassLinker()->RunRootClinits();
runtime_ = runtime;