Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 4296: Stack checks in generated code for function apply is now controlled... (Closed)

Created:
12 years, 2 months ago by Søren Thygesen Gjesse
Modified:
9 years, 7 months ago
Reviewers:
bak
CC:
v8-dev
Visibility:
Public.

Description

Stack checks in generated code for function apply is now controlled by the check-stack flag. Changed the condition code from greater to above_equal as the SP should be unsigned (this matches the stack check in function entry). Committed: http://code.google.com/p/v8/source/detail?r=384

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -14 lines) Patch
M src/builtins-ia32.cc View 1 chunk +16 lines, -14 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Søren Thygesen Gjesse
12 years, 2 months ago (2008-09-26 09:00:08 UTC) #1
bak
LGTM, Lars http://codereview.chromium.org/4296/diff/1/2 File src/builtins-ia32.cc (right): http://codereview.chromium.org/4296/diff/1/2#newcode520 Line 520: if (true && FLAG_check_stack) { Please ...
12 years, 2 months ago (2008-09-26 09:25:50 UTC) #2
Søren Thygesen Gjesse
12 years, 2 months ago (2008-09-26 10:33:15 UTC) #3
Removed the change from greater to above_equal. It did not work, as the
calculation of the expected SP can wrap around 0. Erik Corry has CL
http://codereview.chromium.org/2926 open for fixing this issue more generally.

http://codereview.chromium.org/4296/diff/1/2
File src/builtins-ia32.cc (right):

http://codereview.chromium.org/4296/diff/1/2#newcode520
Line 520: if (true && FLAG_check_stack) {
On 2008/09/26 09:25:50, bak wrote:
> Please remove true &&. It does not add much.

Sorry about that - testing leftover.

Powered by Google App Engine
This is Rietveld 408576698