remove unused code from util.cpp

This commit is contained in:
Joel Dice 2008-03-21 14:33:44 -06:00
parent c7a357aa5e
commit 50040b24f5

View File

@ -12,24 +12,6 @@
using namespace vm;
namespace {
object
clone(Thread* t, object o)
{
object class_ = objectClass(t, o);
unsigned size = baseSize(t, o, class_) * BytesPerWord;
object clone = make(t, class_);
memcpy(reinterpret_cast<void**>(clone) + 1,
reinterpret_cast<void**>(o) + 1,
size - BytesPerWord);
return clone;
}
} // namespace
namespace vm {
object