diff -r 43287eef2fff -r 072f1114ea5d src/Interpreter.cpp --- a/src/Interpreter.cpp Mon Dec 24 02:56:02 2012 -0800 +++ b/src/Interpreter.cpp Mon Dec 24 16:09:13 2012 -0800 @@ -82,29 +82,6 @@ return true; } -static bool -DuplicateArray(Zone *zone, Handle src) -{ - Local map(zone, ArrayMap::cast(src->map())); - Local dest(zone); - - if (map->type()->isFixedLength()) { - dest = Array::NewFixed(zone, map); - } else { - Type *type = map->type(); - int sizes[MAX_ARRAY_DEPTH]; - for (unsigned i = 0; i < map->type()->levels(); i++) { - ArrayType *atype = ArrayType::cast(type); - sizes[i] = atype->isFixedLength() - ? atype->fixedLength() - : 0; - type = atype->contained(); - } - } - - Local dst(zone); -} - static void GetElement(Array *array, int index, LocalSlot *vp) {