Add defensive assert against a weak callback on an empty persistent.
authorvogelheim@chromium.org <vogelheim@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 27 May 2014 12:26:44 +0000 (12:26 +0000)
committervogelheim@chromium.org <vogelheim@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 27 May 2014 12:26:44 +0000 (12:26 +0000)
commitee88832bb97f690cfdfbceefbd55840de05f50dc
tree193a2efbd47567cc394c0f5c64656fbec8b7502e
parent620555b49524bfee2727577d2f2c5bb385e69b0a
Add defensive assert against a weak callback on an empty persistent.

(This shouldn't happen in the first place, as by definition that callback would never be called. However, the referenced bug sorta looks like this happened. If so, the CHECK should help us pinpoint the culprit.)

R=jochen@chromium.org
BUG=368095
LOG=N

Review URL: https://codereview.chromium.org/265823006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/global-handles.cc