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

Issue 147022: Workaround a gcc 4.4 bug.... (Closed)

Created:
11 years, 6 months ago by Feng Qian
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Workaround a gcc 4.4 bug. Gcc generates wrong vtable entries for certain code pattern. The change in heap.cc has detailed explanation. Committed: http://code.google.com/p/v8/source/detail?r=2299

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -16 lines) Patch
M src/heap.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +39 lines, -16 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Feng Qian
11 years, 6 months ago (2009-06-23 17:32:08 UTC) #1
Erik Corry
LGTM apart from the comments. http://codereview.chromium.org/147022/diff/1/2 File src/heap.cc (right): http://codereview.chromium.org/147022/diff/1/2#newcode1291 Line 1291: // gcc-4.4 has ...
11 years, 6 months ago (2009-06-24 07:38:31 UTC) #2
Feng Qian
11 years, 5 months ago (2009-06-29 20:54:24 UTC) #3
Rephrased comment and removed bug references.

On 2009/06/24 07:38:31, Erik Corry wrote:
> LGTM apart from the comments.
> 
> http://codereview.chromium.org/147022/diff/1/2
> File src/heap.cc (right):
> 
> http://codereview.chromium.org/147022/diff/1/2#newcode1291
> Line 1291: // gcc-4.4 has problem to generate the correct vtables if the
> following
> Should be "gcc-4.4 has problems generating..."
> 
> I don't understand the comment.  It doesn't seem like vtables are being
> generated here.
> 
> http://codereview.chromium.org/147022/diff/1/2#newcode1300
> Line 1300: // Possible gcc bug:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32327
> Is this relevant?  According to the bug this was fixed in gcc-4.3.

Powered by Google App Engine
This is Rietveld 408576698