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

Issue 6541053: Add more generic version of reloc info padding to ensure enough space for rel... (Closed)

Created:
9 years, 10 months ago by Rico
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add more generic version of reloc info padding to ensure enough space for reloc patching during deoptimization (fixes issue 1174). The old version only added extra space when we did indirect calls, but the problem remains the same with normal calls that can be represented as a single byte. When doing patching each call will always be at least 2 bytes long because we use RUNTIME_ENTY as the reloc mode. Committed: http://code.google.com/p/v8/source/detail?r=6894

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -5 lines) Patch
M src/assembler.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/assembler.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 4 4 chunks +13 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 6 chunks +32 lines, -5 lines 0 comments Download
A test/mjsunit/regress/regress-1174.js View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Rico
9 years, 10 months ago (2011-02-21 12:21:02 UTC) #1
Søren Thygesen Gjesse
LGTM, however I am wondering if it wouldn't be better to collect what we need ...
9 years, 10 months ago (2011-02-21 13:27:20 UTC) #2
Rico
Could you have another look, I changed this actually calculate how much space is actually ...
9 years, 10 months ago (2011-02-22 11:48:19 UTC) #3
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/6541053/diff/6003/src/ia32/lithium-codegen-ia32.h File src/ia32/lithium-codegen-ia32.h (right): http://codereview.chromium.org/6541053/diff/6003/src/ia32/lithium-codegen-ia32.h#newcode106 src/ia32/lithium-codegen-ia32.h:106: void EnsureRelocSpaceForDeoptimization() { Do we want this in ...
9 years, 10 months ago (2011-02-22 11:58:33 UTC) #4
Rico
9 years, 10 months ago (2011-02-22 12:06:10 UTC) #5
http://codereview.chromium.org/6541053/diff/6003/src/ia32/lithium-codegen-ia32.h
File src/ia32/lithium-codegen-ia32.h (right):

http://codereview.chromium.org/6541053/diff/6003/src/ia32/lithium-codegen-ia3...
src/ia32/lithium-codegen-ia32.h:106: void EnsureRelocSpaceForDeoptimization() {
On 2011/02/22 11:58:33, Søren Gjesse wrote:
> Do we want this in the .h file (I guess we have no
lithium-codegen-ia32-inl.h)?

Moved to the cc file

Powered by Google App Engine
This is Rietveld 408576698