Clean up InstanceDtor flags
commit1b349fa89e6bb1d785f3e099edc78b43975a6dfd
authorEdwin Smith <smith@fb.com>
Wed, 18 Nov 2015 15:07:11 +0000 (18 07:07 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 18 Nov 2015 15:30:32 +0000 (18 07:30 -0800)
treea8eccad9d3bc9d58b4833c99d648d7fbe0950947
parentdf75e9dc68675818f4761c7bbfadeaddb2c51693
Clean up InstanceDtor flags

Summary: ObjectData::InstanceDtor isn't really a flag, its a mask that
can be used to check for both kinds of native objects. Remove
the enum, add an accessor for that specific query. This makes
it plain that WaitHandle is getting both flags set without
changing any functionality, and also frees getAttributes() to
be deleted.

Reviewed By: jano

Differential Revision: D2666128

fb-gh-sync-id: 1e96557991808bb3049468af5b6d550e849e2b81
hphp/runtime/base/object-data-inl.h
hphp/runtime/base/object-data.cpp
hphp/runtime/base/object-data.h
hphp/runtime/ext/asio/ext_wait-handle.cpp
hphp/runtime/ext/asio/ext_wait-handle.h
hphp/runtime/ext/objprof/ext_heapgraph.cpp
hphp/runtime/ext/objprof/ext_objprof.cpp