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

Issue 113409: Modify assert so it doesn't crash when 'location' is NULL.... (Closed)

Created:
11 years, 7 months ago by Sverrir
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Modify assert so it doesn't crash when 'location' is NULL. Saw this when testing the new printing code (not checked in yet).

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M src/handles-inl.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Sverrir
Hej Mads, Got the first assert and when I continued the browser crashed since its ...
11 years, 7 months ago (2009-05-14 19:34:45 UTC) #1
Mads Ager (chromium)
11 years, 7 months ago (2009-05-15 06:13:09 UTC) #2
As Søren and Kevin replied, dereferencing a null handle is going to crash
anyway, so I'd like to keep this a two separate ASSERTS so it is easy to see
which one of the conjuncts gets hit.

Powered by Google App Engine
This is Rietveld 408576698