Clean up APCTypedValue a bit.
commitf7040dcc2226089edcd5fd4ef27dd9737df8fee0
authorEdwin Smith <smith@fb.com>
Mon, 12 Oct 2015 19:24:00 +0000 (12 12:24 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Mon, 12 Oct 2015 19:30:31 +0000 (12 12:30 -0700)
tree94a9ebb486296bc9e317de1cb972ea8c314d9756
parent2796c4d9ce147565553ad2120de9ad1070fd947a
Clean up APCTypedValue a bit.

Summary: Moved MakeSharedArray to class APCArray, renamed it to MakeUncountedArray
to reflect what it actually does. Tightened up the other APCTypedValue
constructors to force the correct DataType. Added isStatic() and
isUncounted() assertions.

Reviewed By: @markw65

Differential Revision: D2502993

fb-gh-sync-id: 80e70984e5dcf8dc1b17283b0ee406070c9bf5e0
hphp/runtime/base/apc-array.cpp
hphp/runtime/base/apc-array.h
hphp/runtime/base/apc-collection.cpp
hphp/runtime/base/apc-handle.cpp
hphp/runtime/base/apc-typed-value.cpp
hphp/runtime/base/apc-typed-value.h