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

Issue 4066: Don't defer the stack check failure code. (Closed)

Created:
12 years, 3 months ago by Dean McNamee
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Don't defer the stack check failure code. It is a CallStub, which will be a single 5 byte call instruction. This should cause equivalent code size now, but opens up the opportunity to make one of the most common jcc's to use short encoding in the future.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -19 lines) Patch
M src/codegen-ia32.cc View 1 chunk +5 lines, -19 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Dean McNamee
12 years, 3 months ago (2008-09-24 13:04:53 UTC) #1
I imagine this was originally done with some reason, we now have more code in
the main body, where before the stack failure call would have been pushed to the
bottom.  However, we will save 4 bytes when we can use a short jcc, so this will
mean it's only 1 byte more in the main body, and nothing at the end, so I think
it's a definite win.

Powered by Google App Engine
This is Rietveld 408576698