mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-13 06:59:38 +00:00
8264517: C2: make MachCallNode::return_value_is_used() only available for x86
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
70c9e026b6
commit
792281d559
@ -681,6 +681,7 @@ void MachCallNode::dump_spec(outputStream *st) const {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef _LP64
|
||||
bool MachCallNode::return_value_is_used() const {
|
||||
if (tf()->range()->cnt() == TypeFunc::Parms) {
|
||||
// void return
|
||||
@ -697,6 +698,7 @@ bool MachCallNode::return_value_is_used() const {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Similar to cousin class CallNode::returns_pointer
|
||||
// Because this is used in deoptimization, we want the type info, not the data
|
||||
|
||||
@ -913,8 +913,7 @@ public:
|
||||
virtual const RegMask &in_RegMask(uint) const;
|
||||
virtual int ret_addr_offset() { return 0; }
|
||||
|
||||
bool returns_long() const { return tf()->return_type() == T_LONG; }
|
||||
bool return_value_is_used() const;
|
||||
NOT_LP64(bool return_value_is_used() const;)
|
||||
|
||||
// Similar to cousin class CallNode::returns_pointer
|
||||
bool returns_pointer() const;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user