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

Issue 6580028: Fix wrong assertion in assembler causing the shell to crash with --code-comme... (Closed)

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

Description

Fix wrong assertion in assembler causing the shell to crash with --code-comments. Since writting a code comment can include a pc-jump the assertion should just check that we are greater than or equal to kMinRelocCommentSize (renamed from kRelocCommentSize), not that we are actually equal to. Committed: http://code.google.com/p/v8/source/detail?r=6928

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/assembler.h View 1 chunk +3 lines, -3 lines 1 comment Download
M src/assembler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Rico
9 years, 10 months ago (2011-02-24 09:52:54 UTC) #1
Søren Thygesen Gjesse
9 years, 10 months ago (2011-02-24 10:25:20 UTC) #2
LGTM

http://codereview.chromium.org/6580028/diff/1/src/assembler.h
File src/assembler.h (right):

http://codereview.chromium.org/6580028/diff/1/src/assembler.h#newcode187
src/assembler.h:187: // The minimum size of a comment is equal to tree bytes for
the extra tagged
tree ->three

Powered by Google App Engine
This is Rietveld 408576698