Change ArrayData::prepend() to take the value as a Cell
commitcb1e270fe638786d77b980680bdc958c3f693bf8
authorAlex Malyshev <alexanderm@fb.com>
Fri, 29 Apr 2016 20:41:01 +0000 (29 13:41 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Fri, 29 Apr 2016 21:00:31 +0000 (29 14:00 -0700)
tree7294bafe09121f4df8b4ecf6b4215fd5b7ee851e
parentcdbf5bc8e01f7d7c0278a1c2cc10951e94de024c
Change ArrayData::prepend() to take the value as a Cell

Summary: Moving uninit and boxed checks to Array.

Reviewed By: markw65

Differential Revision: D3226620

fb-gh-sync-id: a90113aede262dfc7496e778b9c59002e1323a7c
fbshipit-source-id: a90113aede262dfc7496e778b9c59002e1323a7c
18 files changed:
hphp/runtime/base/apc-local-array.cpp
hphp/runtime/base/apc-local-array.h
hphp/runtime/base/array-data-defs.h
hphp/runtime/base/array-data.cpp
hphp/runtime/base/array-data.h
hphp/runtime/base/empty-array.cpp
hphp/runtime/base/empty-array.h
hphp/runtime/base/mixed-array.cpp
hphp/runtime/base/mixed-array.h
hphp/runtime/base/packed-array.cpp
hphp/runtime/base/packed-array.h
hphp/runtime/base/proxy-array.cpp
hphp/runtime/base/proxy-array.h
hphp/runtime/base/struct-array.cpp
hphp/runtime/base/struct-array.h
hphp/runtime/base/type-array.cpp
hphp/runtime/vm/globals-array.cpp
hphp/runtime/vm/globals-array.h