Fixed all style issues.
http://codereview.chromium.org/1217011/diff/8001/9004 File src/mark-compact.cc (right): http://codereview.chromium.org/1217011/diff/8001/9004#newcode1134 src/mark-compact.cc:1134: reinterpret_cast<Code*>(target)->instruction_start()); On 2010/03/25 14:48:33, Kevin Millikin wrote:
If you use reinterpret_cast instead of Code::cast because the object
is marked,
say so in a short comment so the reader doesn't wonder.
Replaced reinterpret_cast<Code*> with Code::cast(). Only maps are still marked at this point, everything else was swept thus it is safe to dereference Code's map-pointer. http://codereview.chromium.org/1217011 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
