mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
remove unnecessary exception checks from bootimage.cpp
This commit is contained in:
parent
e16d5f83af
commit
5cedcf7833
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user