fix bootimage build

This commit is contained in:
Joel Dice 2013-02-16 08:36:29 -07:00
parent 5a5b9248e6
commit fbbd718fe1

View File

@ -15,6 +15,7 @@
#include "util.h"
#include "stream.h"
#include "codegen/assembler.h"
#include "codegen/promise.h"
#include "target.h"
#include "binaryToObject/tools.h"
#include "lzma.h"
@ -25,6 +26,7 @@ extern "C" void __cxa_pure_virtual(void) { abort(); }
using namespace vm;
using namespace avian::tools;
using namespace avian::codegen;
namespace {
@ -326,7 +328,7 @@ makeCodeImage(Thread* t, Zone* zone, BootImage* image, uint8_t* code,
Client(Thread* t): t(t) { }
virtual void NO_RETURN handleError() {
vm::abort(t);
abort(t);
}
private: