summaryrefslogtreecommitdiff
path: root/compiler/dex/pass_manager.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-03-21 17:10:24 +0000
committer Vladimir Marko <vmarko@google.com> 2016-03-21 17:39:20 +0000
commit3c94f0945ed596ceee39783fa075f013b65e80a1 (patch)
treec10b5808a5d7157371c2750823e6a168c73aa231 /compiler/dex/pass_manager.cc
parent162629ee8ac0fee2df0c0cdec27dff34bc6f0062 (diff)
Remove Quick from tree.
So long, old friend. Change-Id: I0241c798a34b92bf994fed83888da67d6e7f1891
Diffstat (limited to 'compiler/dex/pass_manager.cc')
-rw-r--r--compiler/dex/pass_manager.cc50
1 files changed, 0 insertions, 50 deletions
diff --git a/compiler/dex/pass_manager.cc b/compiler/dex/pass_manager.cc
deleted file mode 100644
index 6377a6c07a..0000000000
--- a/compiler/dex/pass_manager.cc
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (C) 2015 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "pass_manager.h"
-
-#include "base/stl_util.h"
-#include "pass_me.h"
-
-namespace art {
-
-PassManager::PassManager(const PassManagerOptions& options) : options_(options) {
-}
-
-PassManager::~PassManager() {
- STLDeleteElements(&passes_);
-}
-
-void PassManager::CreateDefaultPassList() {
- default_pass_list_.clear();
- // Add each pass which isn't disabled into default_pass_list_.
- for (const auto* pass : passes_) {
- if (options_.GetDisablePassList().find(pass->GetName()) != std::string::npos) {
- VLOG(compiler) << "Skipping disabled pass " << pass->GetName();
- } else {
- default_pass_list_.push_back(pass);
- }
- }
-}
-
-void PassManager::PrintPassNames() const {
- LOG(INFO) << "Loop Passes are:";
- for (const Pass* cur_pass : default_pass_list_) {
- LOG(INFO) << "\t-" << cur_pass->GetName();
- }
-}
-
-} // namespace art