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

Issue 476913002: [NOT SUBMITTED] Removed DCHECK to allow external code to check if v8 platform is initialized. (Closed)

Created:
6 years, 4 months ago by Vitaly Buka (NO REVIEWS)
Modified:
6 years, 4 months ago
Reviewers:
Benedikt Meurer, jam, Yang
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/external/v8.git@master
Project:
v8
Visibility:
Public.

Description

Removed DCHECK to allow external code to check if v8 platform is initialized. DCHECK is not nessesary here, becase any V8::GetCurrentPlatform()-> would crash anyway. BUG=403851

Patch Set 1 #

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

Messages

Total messages: 5 (0 generated)
Vitaly Buka (NO REVIEWS)
6 years, 4 months ago (2014-08-14 19:04:54 UTC) #1
Yang
6 years, 4 months ago (2014-08-18 08:04:31 UTC) #2
Benedikt Meurer
lgtm
6 years, 4 months ago (2014-08-18 08:06:02 UTC) #3
Vitaly Buka (NO REVIEWS)
On 2014/08/18 08:06:02, Benedikt Meurer wrote: > lgtm I am not going to implement workaround ...
6 years, 4 months ago (2014-08-18 08:37:55 UTC) #4
Yang
6 years, 4 months ago (2014-08-18 08:40:32 UTC) #5
On 2014/08/18 08:37:55, Vitaly Buka wrote:
> On 2014/08/18 08:06:02, Benedikt Meurer wrote:
> > lgtm
> 
> I am not going to implement workaround as suggested in attached bug.
> Still I think this DCHECK is unnecessary.
> Should I submit or delete this patch?

Let's not land this. DCHECKs are debug mode only anyways, and it might help
catching bugs for the case when the return value is not immediately
dereferenced.

Powered by Google App Engine
This is Rietveld 408576698