From bbec8a6fc720ee5ce572d3fb63617fb0af6addc7 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Tue, 25 Feb 2020 20:31:05 +0000 Subject: Revert "If generating an image, run initialization and other optimizations." This reverts commit ada8536c19e57cbfe55dcb3c72aa95e79365ed21. Reason for revert: test failures Change-Id: I8640fe842d7f2255b5749403c798094f9e365fda --- compiler/driver/compiler_options.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compiler/driver/compiler_options.h') 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; -- cgit v1.2.3-59-g8ed1b