summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorEric Holk <eholk@google.com>2020-02-25 20:31:05 +0000
committerTreehugger Robot <treehugger-gerrit@google.com>2020-02-26 00:18:37 +0000
commitbbec8a6fc720ee5ce572d3fb63617fb0af6addc7 (patch)
tree62cfdd7f36d93e41cb57af0d61e8f7c1f9ee3b55 /compiler/driver/compiler_options.h
parent6972b9631cb85249ab35cf9f443890089733d022 (diff)
Revert "If generating an image, run initialization and other optimizations."
This reverts commit ada8536c19e57cbfe55dcb3c72aa95e79365ed21. Reason for revert: test failures Change-Id: I8640fe842d7f2255b5749403c798094f9e365fda
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 79ba1c27c9..747205e4e5 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -195,10 +195,6 @@ class CompilerOptions final {
return implicit_suspend_checks_;
}
- bool IsGeneratingImage() const {
- return IsBootImage() || IsBootImageExtension() || IsAppImage();
- }
-
// Are we compiling a boot image?
bool IsBootImage() const {
return image_type_ == ImageType::kBootImage;