summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@gcc.gnu.org>2000-05-07 00:32:52 +0100
committerBryce McKinlay <bryce@gcc.gnu.org>2000-05-07 00:32:52 +0100
commit5a3c491c8e9ec258ff37a58de522b6f535ea4ade (patch)
tree4f0fe7558301dd135054e8c6ccffb206ef5e02f5 /libjava
parenta4c44acfdc84de7e756d5471f44aac71a80e6135 (diff)
downloadgcc-5a3c491c8e9ec258ff37a58de522b6f535ea4ade.tar.gz
Forgot this file when checking in my last change.
From-SVN: r33745
Diffstat (limited to 'libjava')
-rw-r--r--libjava/boehm.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc
index 34e95105887..14c4263cd27 100644
--- a/libjava/boehm.cc
+++ b/libjava/boehm.cc
@@ -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;