summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/frontend.cc
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2011-12-09 09:29:50 +0800
committer Shih-wei Liao <sliao@google.com> 2012-02-15 11:44:11 -0800
commit83426160568b62b22a1f1559cace78b5152c7749 (patch)
tree32116b8210d81cdfc8be9a38c111a4a3ab0232fc /src/compiler_llvm/frontend.cc
parent4c1f425f62a21e181a437ec45520167332344917 (diff)
Cleanup "Beginning of LLVM backend for ART."
Change-Id: I290e4d46b880256b6bf2eae7b3c828ee8d7595f2
Diffstat (limited to 'src/compiler_llvm/frontend.cc')
-rw-r--r--src/compiler_llvm/frontend.cc20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/compiler_llvm/frontend.cc b/src/compiler_llvm/frontend.cc
index d2a4ad4417..7507b2651e 100644
--- a/src/compiler_llvm/frontend.cc
+++ b/src/compiler_llvm/frontend.cc
@@ -14,26 +14,22 @@
* limitations under the License.
*/
-#include "method_compiler.h"
-
-#include "class_linker.h"
-#include "class_loader.h"
-#include "compiler.h"
-#include "constants.h"
#include "dex_file.h"
-#include "runtime.h"
+#include "logging.h"
-#include <UniquePtr.h>
#include <stdint.h>
-using namespace art::compiler_llvm;
-
namespace art {
-int oatVRegOffset(const art::DexFile::CodeItem* code_item,
+int oatVRegOffset(const DexFile::CodeItem* code_item,
uint32_t core_spills, uint32_t fp_spills,
size_t frame_size, int reg) {
- UNIMPLEMENTED(FATAL);
+
+ // TODO: Remove oatVRegOffset() after we have adapted the OatWriter
+ // and OatFile.
+
+ UNIMPLEMENTED(WARNING) << "oatVRegOffset() is not and won't be "
+ << "implemented in LLVM backend";
return 0;
}