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
683b1112
Commit
683b1112
authored
Jul 15, 2003
by
Kazu Hirata
Committed by
Kazu Hirata
Jul 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.c: Remove the last argument to expand_assignment().
From-SVN: r69380
parent
b90f141a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/java/ChangeLog
+4
-0
gcc/java/expr.c
+7
-7
No files found.
gcc/java/ChangeLog
View file @
683b1112
2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
* expr.c: Remove the last argument to expand_assignment().
Wed Jul 9 02:29:15 CEST 2003 Jan Hubicka <jh@suse.cz>
* java-tree.h (DECL_NUM_STMTS): Rename to...
...
...
gcc/java/expr.c
View file @
683b1112
...
...
@@ -232,7 +232,7 @@ flush_quick_stack (void)
decl
=
find_stack_slot
(
stack_index
,
type
);
if
(
decl
!=
node
)
expand_assignment
(
decl
,
node
,
0
,
0
);
expand_assignment
(
decl
,
node
,
0
);
stack_index
+=
1
+
TYPE_IS_WIDE
(
type
);
}
}
...
...
@@ -986,7 +986,7 @@ expand_java_arraystore (tree rhs_type_node)
expand_assignment
(
build_java_arrayaccess
(
array
,
rhs_type_node
,
index
),
rhs_node
,
0
,
0
);
rhs_node
,
0
);
}
/* Expand the evaluation of ARRAY[INDEX]. build_java_check_indexed_type makes
...
...
@@ -1273,7 +1273,7 @@ expand_iinc (unsigned int local_var_index, int ival, int pc)
local_var
=
find_local_variable
(
local_var_index
,
int_type_node
,
pc
);
constant_value
=
build_int_2
(
ival
,
ival
<
0
?
-
1
:
0
);
res
=
fold
(
build
(
PLUS_EXPR
,
int_type_node
,
local_var
,
constant_value
));
expand_assignment
(
local_var
,
res
,
0
,
0
);
expand_assignment
(
local_var
,
res
,
0
);
}
...
...
@@ -2350,7 +2350,7 @@ expand_java_field_op (int is_static, int is_putting, int field_ref_index)
warning_with_decl
(
field_decl
,
"assignment to final field `%s' not in constructor"
);
}
}
expand_assignment
(
field_ref
,
new_value
,
0
,
0
);
expand_assignment
(
field_ref
,
new_value
,
0
);
}
else
push_value
(
field_ref
);
...
...
@@ -2461,7 +2461,7 @@ java_expand_expr (tree exp, rtx target, enum machine_mode tmode,
expand_decl
(
array_decl
);
tmp
=
expand_assignment
(
array_decl
,
build_new_array
(
element_type
,
length
),
1
,
0
);
1
);
if
(
TREE_CONSTANT
(
init
)
&&
ilength
>=
10
&&
JPRIMITIVE_TYPE_P
(
element_type
))
{
...
...
@@ -2480,7 +2480,7 @@ java_expand_expr (tree exp, rtx target, enum machine_mode tmode,
expand_assignment
(
build
(
COMPONENT_REF
,
TREE_TYPE
(
data_fld
),
build_java_indirect_ref
(
array_type
,
array_decl
,
flag_check_references
),
data_fld
),
init
,
0
,
0
);
data_fld
),
init
,
0
);
return
tmp
;
}
case
BLOCK
:
...
...
@@ -3091,7 +3091,7 @@ process_jvm_instruction (int PC, const unsigned char* byte_ops,
type = TREE_TYPE (value); \
decl = find_local_variable (var, type, oldpc); \
set_local_type (var, type ); \
expand_assignment (decl, value, 0
, 0);
\
expand_assignment (decl, value, 0
);
\
}
#define STORE(OPERAND_TYPE, OPERAND_VALUE) \
...
...
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