diff options
author | Brian Carlstrom <bdc@google.com> | 2014-03-19 18:34:17 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-03-19 18:36:53 -0700 |
commit | ed08bd41321b9347ce3b21e64a5084fb36234e9e (patch) | |
tree | b67d6c5bb88f9f3bb9d783fdce282d124ea148da /runtime/stack.cc | |
parent | 6673338f41c5f2f134ae83219670d9f0b9e1a6e7 (diff) | |
download | art-ed08bd41321b9347ce3b21e64a5084fb36234e9e.zip art-ed08bd41321b9347ce3b21e64a5084fb36234e9e.tar.gz art-ed08bd41321b9347ce3b21e64a5084fb36234e9e.tar.bz2 |
Fix test-art 083-compiler-regressions with work around
(cherry picked from commit cac04f21b35152c3f6e5c09b6699685255491b4a)
Change-Id: I99f66c7531a61f36328db607a961137a6345cbe0
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r-- | runtime/stack.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index f397afa..c33d1ab 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -279,7 +279,9 @@ void StackVisitor::SanityCheckFrame() const { // 2 words Sirt overhead // 3+3 register spills // TODO: this seems architecture specific for the case of JNI frames. - const size_t kMaxExpectedFrameSize = (256 + 2 + 3 + 3) * sizeof(word); + // TODO: 083-compiler-regressions ManyFloatArgs shows this estimate is wrong. + // const size_t kMaxExpectedFrameSize = (256 + 2 + 3 + 3) * sizeof(word); + const size_t kMaxExpectedFrameSize = 2 * KB; CHECK_LE(frame_size, kMaxExpectedFrameSize); size_t return_pc_offset = method->GetReturnPcOffsetInBytes(); CHECK_LT(return_pc_offset, frame_size); |