Make Object::GetIdentityHash() never return 0.
authorasargent@chromium.org <asargent@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 29 Apr 2009 21:44:13 +0000 (21:44 +0000)
committerasargent@chromium.org <asargent@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 29 Apr 2009 21:44:13 +0000 (21:44 +0000)
commitec3beee2bf0a92f9ec921c133110b753b7a21fd8
treedbb26c0c24db6e765284169e0db36c956c6ee303
parent976a9025e414dca1b54683d3543f276b32359cf7
Make Object::GetIdentityHash() never return 0.

This is convenient when using identity hashes in data structures that
want to reserve 0 as a sentinel value, such as WebKit's WTF::HashMap.

Review URL: http://codereview.chromium.org/100147

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1821 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/api.cc