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

Issue 4640003: Fix pseudo-smi accessors lo/hi ordering for SharedFunctionInfo. (Closed)

Created:
10 years, 1 month ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix pseudo-smi accessors lo/hi ordering for SharedFunctionInfo on x64. Incorrect ordering lead to crashes during GC when end position was not even number. Add static assert to catch this kind of typos. Committed: http://code.google.com/p/v8/source/detail?r=5776

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M src/objects-inl.h View 3 chunks +5 lines, -3 lines 3 comments Download

Messages

Total messages: 2 (0 generated)
Vyacheslav Egorov (Chromium)
10 years, 1 month ago (2010-11-08 10:19:00 UTC) #1
Mads Ager (chromium)
10 years, 1 month ago (2010-11-08 10:22:09 UTC) #2
LGTM

http://codereview.chromium.org/4640003/diff/1/2
File src/objects-inl.h (right):

http://codereview.chromium.org/4640003/diff/1/2#newcode2698
src/objects-inl.h:2698: kFormalParameterCountOffset)
Identation.

http://codereview.chromium.org/4640003/diff/1/2#newcode2701
src/objects-inl.h:2701: kExpectedNofPropertiesOffset)
Identation.

http://codereview.chromium.org/4640003/diff/1/2#newcode2706
src/objects-inl.h:2706: kStartPositionAndTypeOffset)
Indentation.

Powered by Google App Engine
This is Rietveld 408576698