GC safety fix in resolveTarget

This commit is contained in:
Joel Dice 2007-12-23 12:26:35 -07:00
parent f87a78833b
commit 271797bead

View File

@ -71,6 +71,9 @@ resolveTarget(MyThread* t, void* stack, object method)
(t, reinterpret_cast<object*>(stack)[parameterFootprint]);
if (classVmFlags(t, class_) & BootstrapFlag) {
PROTECT(t, method);
PROTECT(t, class_);
resolveClass(t, className(t, class_));
if (UNLIKELY(t->exception)) return 0;
}