Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b7938f08
Commit
b7938f08
authored
Jun 24, 2005
by
Tom Tromey
Committed by
Tom Tromey
Jun 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
From-SVN: r101300
parent
aca02b7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
libjava/ChangeLog
+4
-0
libjava/boehm.cc
+6
-2
No files found.
libjava/ChangeLog
View file @
b7938f08
2005
-
06
-
24
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
boehm
.
cc
(
_Jv_MarkObj
):
Handle
case
where
field
's type is NULL.
2005-06-24 Tom Tromey <tromey@redhat.com>
* verify.cc (verify_instructions_0): Correctly handle situation
where PC falls off end.
...
...
libjava/boehm.cc
View file @
b7938f08
// boehm.cc - interface between libjava and Boehm GC.
/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
, 2005
Free Software Foundation
This file is part of libgcj.
...
...
@@ -191,7 +191,11 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void *env)
// static members.
// Note that field->u.addr may be null if the class c is
// JV_STATE_LOADED but not JV_STATE_PREPARED (initialized).
if
(
JvFieldIsRef
(
field
)
&&
p
&&
field
->
isResolved
())
// Note also that field->type could be NULL in some
// situations, for instance if the class has state
// JV_STATE_ERROR.
if
(
field
->
type
&&
JvFieldIsRef
(
field
)
&&
p
&&
field
->
isResolved
())
{
jobject
val
=
*
(
jobject
*
)
p
;
p
=
(
GC_PTR
)
val
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment