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

Issue 146021: X64 implementation: Change argument to relocator to take a 64-bit delta. Cha... (Closed)

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

Description

X64 implementation: Change argument to relocator to take a 64-bit delta. Change maximum relocation info encoding length. Committed: http://code.google.com/p/v8/source/detail?r=2252

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -27 lines) Patch
M src/arm/assembler-arm-inl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.h View 2 chunks +7 lines, -3 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +8 lines, -3 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +8 lines, -4 lines 0 comments Download
M src/x64/assembler-x64.cc View 3 chunks +6 lines, -10 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
William Hesse
11 years, 6 months ago (2009-06-23 08:56:58 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/146021/diff/1/8 File src/arm/assembler-arm-inl.h (right): http://codereview.chromium.org/146021/diff/1/8#newcode53 Line 53: void RelocInfo::apply(int_ptr delta) { intptr_t?
11 years, 6 months ago (2009-06-23 09:06:41 UTC) #2
Lasse Reichstein
http://codereview.chromium.org/146021/diff/1/8 File src/arm/assembler-arm-inl.h (right): http://codereview.chromium.org/146021/diff/1/8#newcode53 Line 53: void RelocInfo::apply(int_ptr delta) { ptrdiff_t would probably be ...
11 years, 6 months ago (2009-06-23 10:12:16 UTC) #3
William Hesse
11 years, 6 months ago (2009-06-24 07:56:29 UTC) #4
http://codereview.chromium.org/146021/diff/1/8
File src/arm/assembler-arm-inl.h (right):

http://codereview.chromium.org/146021/diff/1/8#newcode53
Line 53: void RelocInfo::apply(int_ptr delta) {
On 2009/06/23 09:06:41, Mads Ager wrote:
> intptr_t?

Fixed to intptr_t.  ARM compilation checked.

http://codereview.chromium.org/146021/diff/1/8#newcode53
Line 53: void RelocInfo::apply(int_ptr delta) {
On 2009/06/23 10:12:16, Lasse Reichstein wrote:
> ptrdiff_t would probably be more appropriate.

From the Internet:
"We are not even promised that ptrdiff_t is large enough to hold a pointer,
just enough to hold a difference between two pointers within the same object)."

I doubt that prtdiff_t is any more likely than intptr_t to be right here.

Powered by Google App Engine
This is Rietveld 408576698