summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/local_optimizations.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-11-15 14:51:41 -0800
committer buzbee <buzbee@google.com> 2012-11-16 16:48:09 -0800
commiteaf09bc65f9a10d12befcdb239156938c9bceef2 (patch)
treee3b85c241b24aa058a413363e4f9c94f4c76d4d6 /src/compiler/codegen/local_optimizations.h
parentefc6369224b036a1fb77849f7ae65b3492c832c0 (diff)
Quick compiler: more refactoring
Focus on header file cleanup here. Note: target_list.h is transitional, and upcoming CLs will do additional header file reorganization. Change-Id: If86e1a8c1c43305762fe37b157a9d3c17d911ea7
Diffstat (limited to 'src/compiler/codegen/local_optimizations.h')
-rw-r--r--src/compiler/codegen/local_optimizations.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/compiler/codegen/local_optimizations.h b/src/compiler/codegen/local_optimizations.h
new file mode 100644
index 0000000000..440090f27a
--- /dev/null
+++ b/src/compiler/codegen/local_optimizations.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2011 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.
+ */
+
+#ifndef ART_SRC_COMPILER_CODEGEN_LOCALOPTIMIZATIONS_H_
+#define ART_SRC_COMPILER_CODEGEN_LOCALOPTIMIZATIONS_H_
+
+namespace art {
+
+void oatApplyLocalOptimizations(CompilationUnit* cUnit, LIR* headLIR, LIR* tailLIR);
+
+} // namespace art
+
+#endif // ART_SRC_COMPILER_CODEGEN_LOCALOPTIMIZATIONS_H_