return empty object array from MyProcessor::getStackTrace on failure

This commit is contained in:
Joel Dice 2010-09-27 09:39:44 -06:00
parent 1d4b54a9f6
commit 8c789fb92c

View File

@ -7637,7 +7637,7 @@ class MyProcessor: public Processor {
collect(t, Heap::MinorCollection);
}
return visitor.trace ? visitor.trace : makeArray(t, 0);
return visitor.trace ? visitor.trace : makeObjectArray(t, 0);
}
virtual void initialize(BootImage* image, uint8_t* code, unsigned capacity) {