From b090a18e4292dc339a3b2668bf6dc855928dee3a Mon Sep 17 00:00:00 2001 From: Dave Allison Date: Thu, 14 Aug 2014 17:02:48 +0000 Subject: Merge stack usage reduction for overflow checks Cherry pick from: b038ba66a166fb264ca121632f447712e0973b5b Change-Id: I19999e72ff731d4fc73d91b9ff767de5858c15ee --- runtime/entrypoints/entrypoint_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/entrypoints/entrypoint_utils.cc') diff --git a/runtime/entrypoints/entrypoint_utils.cc b/runtime/entrypoints/entrypoint_utils.cc index a0e35f88fa..cf89850fa2 100644 --- a/runtime/entrypoints/entrypoint_utils.cc +++ b/runtime/entrypoints/entrypoint_utils.cc @@ -211,7 +211,7 @@ void ThrowStackOverflowError(Thread* self) { } bool explicit_overflow_check = Runtime::Current()->ExplicitStackOverflowChecks(); - self->ResetDefaultStackEnd(!explicit_overflow_check); // Return to default stack size. + self->ResetDefaultStackEnd(); // Return to default stack size. // And restore protection if implicit checks are on. if (!explicit_overflow_check) { -- cgit v1.2.3-59-g8ed1b