summaryrefslogtreecommitdiff
path: root/compiler/dex/mir_analysis.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-10-07 12:03:29 +0100
committer Vladimir Marko <vmarko@google.com> 2015-10-07 12:03:29 +0100
commitd4cf1e4fe0624b99df22ed5556dc1d042b32a7e0 (patch)
treed4ffdff0fcea7e28c5b4b4f76199e55d44305cdd /compiler/dex/mir_analysis.cc
parentd6ace609ef3c5d37ea4d980a2aaa3a9c31943d3b (diff)
Quick: Work around large frame sizes for x86_64.
Bug: 24729377 Change-Id: Id608aabad60fb7f1a1450a02444bddfb0eb008a6
Diffstat (limited to 'compiler/dex/mir_analysis.cc')
-rw-r--r--compiler/dex/mir_analysis.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/dex/mir_analysis.cc b/compiler/dex/mir_analysis.cc
index 39f8ee8f7e..6a761d3f68 100644
--- a/compiler/dex/mir_analysis.cc
+++ b/compiler/dex/mir_analysis.cc
@@ -1305,6 +1305,9 @@ void MIRGraph::DoCacheFieldLoweringInfo() {
}
}
+// FIXME: Large frame size for x86_64 target. Bug: 24729377.
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wframe-larger-than="
void MIRGraph::DoCacheMethodLoweringInfo() {
static constexpr uint16_t invoke_types[] = { kVirtual, kSuper, kDirect, kStatic, kInterface };
static constexpr uint32_t kMethodIdxFlagQuickened = 0x80000000;
@@ -1429,6 +1432,7 @@ void MIRGraph::DoCacheMethodLoweringInfo() {
MirMethodLoweringInfo::Resolve(cu_->compiler_driver, GetCurrentDexCompilationUnit(),
method_lowering_infos_.data(), count);
}
+#pragma GCC diagnostic pop
bool MIRGraph::SkipCompilationByName(const std::string& methodname) {
return cu_->compiler_driver->SkipCompilation(methodname);