PolicyArray: implement NOT_IMPLEMENTED methods

This implements the "last" unimplemented methods in ArrayShell. The sorting-related methods need no implementation because PolicyArray scales to HphpArray before sorting.
Esse commit está contido em:
Andrei Alexandrescu
2013-06-07 14:05:25 -07:00
commit de sgolemon
commit 1bfe90084a
5 arquivos alterados com 168 adições e 130 exclusões
+2 -2
Ver Arquivo
@@ -27,8 +27,8 @@ ArrayInit::ArrayInit(ssize_t n) {
if (!n) {
m_data = HphpArray::GetStaticEmptyArray();
} else if (false) {
// Force compilation of ArrayShell
m_data = NEW(ArrayShell)(n);
// Force compilation of PolicyArray
m_data = NEW(PolicyArray)(n);
} else {
m_data = ArrayData::Make(n);
}