kill VM namespace

Now that HHVM is the default runtime, this namespace doesn't mean anything.
Esse commit está contido em:
Paul Tarjan
2013-05-15 12:32:58 -07:00
commit de Sara Golemon
commit fef62f03a2
266 arquivos alterados com 868 adições e 1023 exclusões
+3 -3
Ver Arquivo
@@ -587,7 +587,7 @@ bool Iter::init(TypedValue* c1) {
if (isIterator) {
(void) new (&arr()) ArrayIter(obj, ArrayIter::transferOwner);
} else {
VM::Class* ctx = arGetContextClass(g_vmContext->getFP());
Class* ctx = arGetContextClass(g_vmContext->getFP());
CStrRef ctxStr = ctx ? ctx->nameRef() : null_string;
Array iterArray(obj->o_toIterArray(ctxStr));
ArrayData* ad = iterArray.getArrayData();
@@ -637,7 +637,7 @@ bool Iter::minit(TypedValue* v1) {
if (isIterator) {
raise_error("An iterator cannot be used with foreach by reference");
}
VM::Class* ctx = arGetContextClass(g_vmContext->getFP());
Class* ctx = arGetContextClass(g_vmContext->getFP());
CStrRef ctxStr = ctx ? ctx->nameRef() : null_string;
Array iterArray = obj->o_toIterArray(ctxStr, true);
if (iterArray->empty()) {
@@ -881,7 +881,7 @@ class FreeObj {
* If exceptions are thrown, new_iter_object takes care of decRefing the object.
*/
HOT_FUNC
int64_t new_iter_object(Iter* dest, ObjectData* obj, VM::Class* ctx,
int64_t new_iter_object(Iter* dest, ObjectData* obj, Class* ctx,
TypedValue* valOut, TypedValue* keyOut) {
valOut = tvToCell(valOut);
if (keyOut) {