Commit 3c6f5774 authored by danno@chromium.org's avatar danno@chromium.org

Fix stack overflows on Windows x64.

R=mstarzinger@chromium.org
TEST=win 64 not red anymore

Review URL: https://chromiumcodereview.appspot.com/10008005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11236 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent dbf9c789
......@@ -310,7 +310,9 @@ DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature")
DEFINE_bool(break_on_abort, true, "always cause a debug break before aborting")
// execution.cc
DEFINE_int(stack_size, kPointerSize * 128,
// Slightly less than 1MB on 64-bit, since Windows' default stack size for
// the main execution thread is 1MB for both 32 and 64-bit.
DEFINE_int(stack_size, kPointerSize * 125,
"default size of stack region v8 is allowed to use (in kBytes)")
// frames.cc
......
......@@ -29,7 +29,7 @@
var d = 0;
function recurse() {
if (++d == 26130) { // A magic number just below stack overflow on ia32
if (++d == 25515) { // A magic number just below stack overflow on ia32
%DebugBreak();
}
recurse();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment