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
2060fd4c
Commit
2060fd4c
authored
Feb 28, 2002
by
Bryce McKinlay
Committed by
Bryce McKinlay
Feb 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c (build_java_arraystore_check): Fix formatting.
From-SVN: r50167
parent
e0054185
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/java/ChangeLog
+4
-0
gcc/java/expr.c
+3
-3
No files found.
gcc/java/ChangeLog
View file @
2060fd4c
2002-03-01 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* expr.c (build_java_arraystore_check): Fix formatting.
2002-02-28 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* expr.c (java_array_data_offset): Removed function.
...
...
gcc/java/expr.c
View file @
2060fd4c
...
...
@@ -823,7 +823,7 @@ build_java_arraystore_check (array, object)
abort
();
if
(
!
flag_store_check
)
return
build1
(
NOP_EXPR
,
array_type_p
,
array
);
return
build1
(
NOP_EXPR
,
array_type_p
,
array
);
/* No check is needed if the element type is final or is itself an array.
Also check that element_type matches object_type, since in the bytecode
...
...
@@ -831,7 +831,7 @@ build_java_arraystore_check (array, object)
rather than its declared type. */
if
(
element_type
==
object_type
&&
(
TYPE_ARRAY_P
(
TREE_TYPE
(
element_type
))
||
CLASS_FINAL
(
element_type
)))
||
CLASS_FINAL
(
element_type
)))
return
build1
(
NOP_EXPR
,
array_type_p
,
array
);
/* Avoid the check if OBJECT was just loaded from the same array. */
...
...
@@ -849,7 +849,7 @@ build_java_arraystore_check (array, object)
target
=
TREE_OPERAND
(
target
,
0
);
if
(
source
==
target
)
return
build1
(
NOP_EXPR
,
array_type_p
,
array
);
return
build1
(
NOP_EXPR
,
array_type_p
,
array
);
}
/* Build an invocation of _Jv_CheckArrayStore */
...
...
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