Skip to content

Commit 7c564e1

Browse files
committed
8253146: C2: Purge unused MachCallNode::_arg_size field
Reviewed-by: thartmann, adityam
1 parent 2caa20a commit 7c564e1

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/hotspot/cpu/ppc/ppc.ad

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3605,7 +3605,6 @@ encode %{
36053605
call->_tf = _tf;
36063606
call->_entry_point = _entry_point;
36073607
call->_cnt = _cnt;
3608-
call->_argsize = _argsize;
36093608
call->_oop_map = _oop_map;
36103609
call->_jvms = _jvms;
36113610
call->_jvmadj = _jvmadj;
@@ -3806,7 +3805,6 @@ encode %{
38063805
call->_tf = _tf;
38073806
call->_entry_point = _entry_point;
38083807
call->_cnt = _cnt;
3809-
call->_argsize = _argsize;
38103808
call->_oop_map = _oop_map;
38113809
guarantee(!_jvms, "You must clone the jvms and adapt the offsets by fix_jvms().");
38123810
call->_jvms = NULL;

src/hotspot/share/opto/machnode.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,17 +880,14 @@ class MachCallNode : public MachSafePointNode {
880880
const TypeFunc *_tf; // Function type
881881
address _entry_point; // Address of the method being called
882882
float _cnt; // Estimate of number of times called
883-
uint _argsize; // Size of argument block on stack
884883

885884
const TypeFunc* tf() const { return _tf; }
886885
const address entry_point() const { return _entry_point; }
887886
const float cnt() const { return _cnt; }
888-
uint argsize() const { return _argsize; }
889887

890888
void set_tf(const TypeFunc* tf) { _tf = tf; }
891889
void set_entry_point(address p) { _entry_point = p; }
892890
void set_cnt(float c) { _cnt = c; }
893-
void set_argsize(int s) { _argsize = s; }
894891

895892
MachCallNode() : MachSafePointNode() {
896893
init_class_id(Class_MachCall);

src/hotspot/share/opto/matcher.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,10 +1305,6 @@ MachNode *Matcher::match_sfpt( SafePointNode *sfpt ) {
13051305
if (OptoReg::is_valid(reg2))
13061306
rm->Insert( reg2 );
13071307
} // End of for all arguments
1308-
1309-
// Compute number of stack slots needed to restore stack in case of
1310-
// Pascal-style argument popping.
1311-
mcall->_argsize = out_arg_limit_per_call - begin_out_arg_area;
13121308
}
13131309

13141310
// Compute the max stack slot killed by any call. These will not be

0 commit comments

Comments
 (0)