From 6be1dbd3bc34b2cfa0fe257acbea273f1b6f4a53 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 13 Nov 2018 13:09:51 +0000 Subject: 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 --- compiler/optimizing/optimizing_compiler.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compiler/optimizing/optimizing_compiler.h') 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 -- cgit v1.2.3-59-g8ed1b