From 8c789fb92c45c5a9a5620037f999607664096d02 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 27 Sep 2010 09:39:44 -0600 Subject: [PATCH] return empty object array from MyProcessor::getStackTrace on failure --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index 7c0971c781..f5ec9015f3 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -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) {