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
cbad89c4
Commit
cbad89c4
authored
Nov 26, 2002
by
Tom Tromey
Committed by
Tom Tromey
Nov 26, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* verify.cc (type::compatible): Backed out broken change.
From-SVN: r59496
parent
d2dff06b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
libjava/ChangeLog
+2
-0
libjava/verify.cc
+5
-5
No files found.
libjava/ChangeLog
View file @
cbad89c4
2002
-
11
-
25
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
verify
.
cc
(
type
::
compatible
):
Backed
out
broken
change
.
*
verify
.
cc
(
type
::
compatible
):
Check
initialization
status
first
.
*
interpret
.
cc
(
run
)
[
insn_invokespecial
,
invokespecial_resolved
]:
...
...
libjava/verify.cc
View file @
cbad89c4
...
...
@@ -458,11 +458,6 @@ private:
if
(
key
<
reference_type
||
k
.
key
<
reference_type
)
return
key
==
k
.
key
;
// An initialized type and an uninitialized type are not
// compatible.
if
(
isinitialized
()
!=
k
.
isinitialized
())
return
false
;
// The `null' type is convertible to any reference type.
if
(
key
==
null_type
||
k
.
key
==
null_type
)
return
true
;
...
...
@@ -473,6 +468,11 @@ private:
&&
data
.
klass
==
&
java
::
lang
::
Object
::
class
$)
return
true
;
// An initialized type and an uninitialized type are not
// compatible.
if
(
isinitialized
()
!=
k
.
isinitialized
())
return
false
;
// Two uninitialized objects are compatible if either:
// * The PCs are identical, or
// * One PC is UNINIT.
...
...
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