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
d9d3eaab
Commit
d9d3eaab
authored
Apr 20, 2009
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Apr 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* verify-impl.c (verify_instructions_0): Add cast to enum type.
From-SVN: r146446
parent
8fa2df72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/java/ChangeLog
+4
-0
gcc/java/verify-impl.c
+4
-2
No files found.
gcc/java/ChangeLog
View file @
d9d3eaab
2009
-
04
-
18
Ian
Lance
Taylor
<
iant
@
google
.
com
>
*
verify
-
impl
.
c
(
verify_instructions_0
):
Add
cast
to
enum
type
.
2009
-
04
-
09
Paolo
Bonzini
<
bonzini
@
gnu
.
org
>
*
builtins
.
c
(
compareAndSwapLong_builtin
,
...
...
gcc/java/verify-impl.c
View file @
d9d3eaab
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008
, 2009
Free Software Foundation
This file is part of libgcj.
...
...
@@ -3025,13 +3025,15 @@ verify_instructions_0 (void)
case
op_newarray
:
{
int
atype
=
get_byte
();
vfy_jclass
k
;
type
t
;
/* We intentionally have chosen constants to make this
valid. */
if
(
atype
<
boolean_type
||
atype
>
long_type
)
verify_fail_pc
(
"type not primitive"
,
vfr
->
start_PC
);
pop_type
(
int_type
);
init_type_from_class
(
&
t
,
construct_primitive_array_type
(
atype
));
k
=
construct_primitive_array_type
((
type_val
)
atype
);
init_type_from_class
(
&
t
,
k
);
push_type_t
(
t
);
}
break
;
...
...
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