From 5cedcf78338aac425da571a457c1a53aa8259a37 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 27 Jan 2011 11:53:53 -0700 Subject: [PATCH] remove unnecessary exception checks from bootimage.cpp --- src/bootimage.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bootimage.cpp b/src/bootimage.cpp index f267232ee3..b9c4a0a438 100644 --- a/src/bootimage.cpp +++ b/src/bootimage.cpp @@ -409,35 +409,27 @@ writeBootImage2(Thread* t, FILE* out, BootImage* image, uint8_t* code, // runtime: { resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[B"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[Z"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[S"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[C"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[I"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[J"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[F"), true); - if (t->exception) return; resolveSystemClass (t, root(t, Machine::BootLoader), makeByteArray(t, "[D"), true); - if (t->exception) return; } collect(t, Heap::MajorCollection);