[handles] Sanitize Handle and friends.
authorbmeurer <bmeurer@chromium.org>
Wed, 15 Jul 2015 07:13:50 +0000 (00:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 07:14:05 +0000 (07:14 +0000)
commitd940c6d3bcc227b459cb4123d9a8332d9ed0d5f8
tree47bfba71997c87560fbe2d0aca99644b2df087d1
parentd20a5090428e9abaa9e994cca7468955666fd24f
[handles] Sanitize Handle and friends.

Bunch of cleanups to allow us to get rid of handles-inl.h at some
point (in the not so far future); but more importantly to sanitize uses
of handles and prepare for handle canonicalization support.

R=yangguo@chromium.org

Committed: https://crrev.com/3283195d0408333cce552cf4087577e6f41054e5
Cr-Commit-Position: refs/heads/master@{#28222}

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

Cr-Commit-Position: refs/heads/master@{#29666}
src/api.cc
src/api.h
src/handles-inl.h
src/handles.cc
src/handles.h
test/cctest/test-heap.cc