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

Issue 17376: Avoiding the assumption that the pc pointer of RelocInfo points to the word c... (Closed)

Created:
11 years, 11 months ago by olehougaard
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Avoiding the assumption that the pc pointer of RelocInfo points to the word containing the target address. It wasn't true for ARM. (One step closer to serialization on ARM). Committed: http://code.google.com/p/v8/source/detail?r=1067

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -17 lines) Patch
M src/assembler.h View 1 chunk +7 lines, -2 lines 0 comments Download
M src/assembler-arm-inl.h View 2 chunks +9 lines, -3 lines 0 comments Download
M src/assembler-ia32-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/serialize.cc View 3 chunks +12 lines, -8 lines 2 comments Download
M test/cctest/test-serialize.cc View 2 chunks +4 lines, -4 lines 4 comments Download

Messages

Total messages: 3 (0 generated)
olehougaard
11 years, 11 months ago (2009-01-13 13:55:48 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/17376/diff/1/6 File src/serialize.cc (right): http://codereview.chromium.org/17376/diff/1/6#newcode592 Line 592: "StackGuard::address_of_limit()"); RegexpStackGuard? http://codereview.chromium.org/17376/diff/1/2 File test/cctest/test-serialize.cc (right): http://codereview.chromium.org/17376/diff/1/2#newcode112 ...
11 years, 11 months ago (2009-01-13 14:26:10 UTC) #2
olehougaard
11 years, 11 months ago (2009-01-13 14:35:22 UTC) #3
http://codereview.chromium.org/17376/diff/1/6
File src/serialize.cc (right):

http://codereview.chromium.org/17376/diff/1/6#newcode592
Line 592: "StackGuard::address_of_limit()");
On 2009/01/13 14:26:10, Mads Ager wrote:
> RegexpStackGuard?

Fixed.

http://codereview.chromium.org/17376/diff/1/2
File test/cctest/test-serialize.cc (right):

http://codereview.chromium.org/17376/diff/1/2#newcode112
Line 112: CHECK_EQ(make_code(UNCLASSIFIED, 5),
On 2009/01/13 14:26:10, Mads Ager wrote:
> Do you want to have a test for index 4 here as well?

Not really. A few samples should be sufficient or we'll need
to change this test too often.

http://codereview.chromium.org/17376/diff/1/2#newcode144
Line 144: decoder.Decode(make_code(UNCLASSIFIED, 5)));
On 2009/01/13 14:26:10, Mads Ager wrote:
> Ditto.

Ditto :)

Powered by Google App Engine
This is Rietveld 408576698