summaryrefslogtreecommitdiff
path: root/runtime/instruction_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/instruction_set.h')
-rw-r--r--runtime/instruction_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/instruction_set.h b/runtime/instruction_set.h
index 6e10a4c036..dce1c150ba 100644
--- a/runtime/instruction_set.h
+++ b/runtime/instruction_set.h
@@ -181,7 +181,7 @@ static constexpr size_t kArm64StackOverflowReservedBytes = 32 * KB;
// TODO: Bumped to workaround regression (http://b/14982147) Specifically to fix:
// test-art-host-run-test-interpreter-018-stack-overflow
// test-art-host-run-test-interpreter-107-int-math2
-static constexpr size_t kX86StackOverflowReservedBytes = 24 * KB;
+static constexpr size_t kX86StackOverflowReservedBytes = (kIsDebugBuild ? 32 : 24) * KB;
static constexpr size_t kX86_64StackOverflowReservedBytes = 32 * KB;
static constexpr size_t GetStackOverflowReservedBytes(InstructionSet isa) {