summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-04-22 03:10:20 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-22 03:10:20 +0000
commit08faf72e16a3b73b205e9f1ca618470b78174d4e (patch)
treee6c5bee116386fada5fb45cf31515c54063b9de2 /compiler/common_compiler_test.h
parent92b8269d77a75d1c056ba23abef8dd8f5d26eef6 (diff)
parent70bef0d8f6aa30b0da5c6ca56e1bc5729f74654b (diff)
Merge "ART: Add compiled-methods"
Diffstat (limited to 'compiler/common_compiler_test.h')
-rw-r--r--compiler/common_compiler_test.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/compiler/common_compiler_test.h b/compiler/common_compiler_test.h
index d7b210d571..8d80a2da5c 100644
--- a/compiler/common_compiler_test.h
+++ b/compiler/common_compiler_test.h
@@ -18,6 +18,7 @@
#define ART_COMPILER_COMMON_COMPILER_TEST_H_
#include <list>
+#include <unordered_set>
#include <vector>
#include "common_runtime_test.h"
@@ -56,6 +57,18 @@ class CommonCompilerTest : public CommonRuntimeTest {
virtual void SetUpRuntimeOptions(RuntimeOptions *options);
+ // Get the set of image classes given to the compiler-driver in SetUp. Note: the compiler
+ // driver assumes ownership of the set, so the test should properly release the set.
+ virtual std::unordered_set<std::string>* GetImageClasses();
+
+ // Get the set of compiled classes given to the compiler-driver in SetUp. Note: the compiler
+ // driver assumes ownership of the set, so the test should properly release the set.
+ virtual std::unordered_set<std::string>* GetCompiledClasses();
+
+ // Get the set of compiled methods given to the compiler-driver in SetUp. Note: the compiler
+ // driver assumes ownership of the set, so the test should properly release the set.
+ virtual std::unordered_set<std::string>* GetCompiledMethods();
+
virtual void TearDown();
void CompileClass(mirror::ClassLoader* class_loader, const char* class_name)