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

Issue 6780032: Minor cleanup in StaticMarkingVisitor. (Closed)

Created:
9 years, 8 months ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Minor cleanup in StaticMarkingVisitor. Committed: http://code.google.com/p/v8/source/detail?r=7470

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M src/mark-compact.cc View 4 chunks +13 lines, -9 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Vyacheslav Egorov (Chromium)
9 years, 8 months ago (2011-03-31 18:35:15 UTC) #1
Vitaly Repeshko
9 years, 8 months ago (2011-03-31 19:23:16 UTC) #2
LGTM.

http://codereview.chromium.org/6780032/diff/1/src/mark-compact.cc
File src/mark-compact.cc (right):

http://codereview.chromium.org/6780032/diff/1/src/mark-compact.cc#newcode505
src/mark-compact.cc:505: ASSERT(obj->map()->heap()->Contains(obj));
It's safer to have Isolate::Current() in asserts like this one.

Powered by Google App Engine
This is Rietveld 408576698