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

Issue 19388005: Do not call reinterpret_cast when converting from NULL. (Closed)

Created:
7 years, 5 months ago by Raphael Kubo da Costa (rakuco)
Modified:
7 years, 5 months ago
CC:
v8-dev
Base URL:
git@github.com:v8/v8.git@master
Visibility:
Public.

Description

Do not call reinterpret_cast when converting from NULL. If NULL is a nullptr (such as on my FreeBSD system), it is not possible to use reinterpret_cast to convert it to another pointer. Plus, just using NULL directly achieves the same effect. R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15705

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/heap.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/stub-cache.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Raphael Kubo da Costa (rakuco)
7 years, 5 months ago (2013-07-16 19:51:48 UTC) #1
ulan
LGTM, I will land it for you.
7 years, 5 months ago (2013-07-17 08:44:53 UTC) #2
ulan
7 years, 5 months ago (2013-07-17 08:46:50 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r15705 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698