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

Issue 6499015: Make sure we always have room for patching the reloc info during lazy deoptim... (Closed)

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

Description

Make sure we always have room for patching the reloc info during lazy deoptimization (fixes issue 1156). Before we could have calls to builtins that would not be in the relocation info since this used a register as target. Whenever we have this case (from lithium codegen) we now emit a comment in the reloc info. Committed: http://code.google.com/p/v8/source/detail?r=6795

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -10 lines) Patch
M src/assembler.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/deoptimizer-ia32.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 5 chunks +21 lines, -4 lines 0 comments Download
A test/mjsunit/regress/regress-1156.js View 1 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Rico
9 years, 10 months ago (2011-02-15 11:59:16 UTC) #1
Kevin Millikin (Chromium)
I think the approach will work. We also need to do the same for MacroAssembler::InvokeFunction, ...
9 years, 10 months ago (2011-02-15 12:19:14 UTC) #2
Rico
>> It would be nice if we could somehow assert for each safepoint that the ...
9 years, 10 months ago (2011-02-15 13:33:00 UTC) #3
Rico
Comments addressed, please have another look. Added Soeren and Mads as reviewers as well, we ...
9 years, 10 months ago (2011-02-15 13:34:53 UTC) #4
Søren Thygesen Gjesse
LGTM
9 years, 10 months ago (2011-02-15 13:42:44 UTC) #5
Rico
9 years, 10 months ago (2011-02-15 14:16:04 UTC) #6
Added src/assembler.cc to the cl (initialization of the padding string);

Powered by Google App Engine
This is Rietveld 408576698