diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-04-09 16:26:23 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-04-09 16:26:23 -0700 |
| commit | 564d8e09c725ccd773e27e6d0edc8fa0a163bf6d (patch) | |
| tree | 7a96479b3acdb6b1fda80fb2de4562a696643c8e /src/rt/rust_task.cpp | |
| parent | 596376ea55256ddea22afd2d854438c23075b592 (diff) | |
| download | rust-564d8e09c725ccd773e27e6d0edc8fa0a163bf6d.tar.gz rust-564d8e09c725ccd773e27e6d0edc8fa0a163bf6d.zip | |
rt: Fix typo
Diffstat (limited to 'src/rt/rust_task.cpp')
| -rw-r--r-- | src/rt/rust_task.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index b4c38de99e7..20727dbcbfd 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -521,7 +521,7 @@ rust_task::new_stack(size_t requested_sz) { if (!unwinding && used_stack > max_stack) { LOG_ERR(this, task, "task %" PRIxPTR " ran out of stack", this); fail(); - } else if (unwinding && used_stack > max_stack) { + } else if (unwinding && used_stack > max_stack * 2) { LOG_ERR(this, task, "task %" PRIxPTR " ran out of stack during unwinding", this); fail(); |
