Forgot this file when checking in my last change.
From-SVN: r33745
This commit is contained in:
parent
a4c44acfdc
commit
5a3c491c8e
@ -88,7 +88,7 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /*env*/)
|
||||
_Jv_VTable *dt = *(_Jv_VTable **) addr;
|
||||
// We check this in case a GC occurs before the vtbl is set. FIXME:
|
||||
// should use allocation lock while initializing object.
|
||||
if (__builtin_expect (! dt, 0))
|
||||
if (__builtin_expect (! dt, false))
|
||||
return mark_stack_ptr;
|
||||
jclass klass = dt->clas;
|
||||
|
||||
@ -99,7 +99,7 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /*env*/)
|
||||
p = (ptr_t) klass;
|
||||
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, obj, o2label);
|
||||
|
||||
if (__builtin_expect (klass == &ClassClass, 0))
|
||||
if (__builtin_expect (klass == &ClassClass, false))
|
||||
{
|
||||
jclass c = (jclass) addr;
|
||||
|
||||
@ -274,7 +274,7 @@ _Jv_MarkArray (void *addr, void *msp, void *msl, void * /*env*/)
|
||||
_Jv_VTable *dt = *(_Jv_VTable **) addr;
|
||||
// We check this in case a GC occurs before the vtbl is set. FIXME:
|
||||
// should use allocation lock while initializing object.
|
||||
if (__builtin_expect (! dt, 0))
|
||||
if (__builtin_expect (! dt, false))
|
||||
return mark_stack_ptr;
|
||||
jclass klass = dt->clas;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user