summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.h
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-11-13 13:09:51 +0000
committerVladimir Marko <vmarko@google.com>2018-11-14 10:21:55 +0000
commit6be1dbd3bc34b2cfa0fe257acbea273f1b6f4a53 (patch)
tree1840224989e4cbd538081951d948ed6a19bc61b4 /compiler/optimizing/optimizing_compiler.h
parentdbcb48fc0d0841f327d108246487a4ef3df556ed (diff)
ART: Rewrite core image detection.
Remove unused compiler option `core_image_` and cache the IsCompilingWithCoreImage in the CompilerOptions instead. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Idcf3b6c96dab9a39f823a16778e7698589442cd8
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.h')
-rw-r--r--compiler/optimizing/optimizing_compiler.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/optimizing/optimizing_compiler.h b/compiler/optimizing/optimizing_compiler.h
index 6ee9c70fdb..f5279e83eb 100644
--- a/compiler/optimizing/optimizing_compiler.h
+++ b/compiler/optimizing/optimizing_compiler.h
@@ -29,14 +29,7 @@ class DexFile;
Compiler* CreateOptimizingCompiler(CompilerDriver* driver);
-// Returns whether we are compiling against a "core" image, which
-// is an indicative we are running tests. The compiler will use that
-// information for checking invariants.
-bool IsCompilingWithCoreImage();
-
bool EncodeArtMethodInInlineInfo(ArtMethod* method);
-bool CanEncodeInlinedMethodInStackMap(const DexFile& caller_dex_file, ArtMethod* callee)
- REQUIRES_SHARED(Locks::mutator_lock_);
} // namespace art