Request for reviews (L): 6823354: Add intrinsics for{Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
Vladimir Kozlov
Vladimir.Kozlov at Sun.COM
Tue May 5 09:10:57 PDT 2009
It is the same since bottom_type() returns TypeInt::INT:
+ class CountBitsNode : public Node {
+ public:
+ CountBitsNode(Node* in1) : Node(0, in1) {}
+ const Type* bottom_type() const { return TypeInt::INT; }
Vladimir
Christian Thalinger wrote:
>> return bottom_type();
>> }
>
> My current version returns TypeInt::INT if it's not a constant. Is that
> correct? And if not, what's the difference between bottom_type() and
> TypeInt::INT in this case?
>
> -- Christian
>
More information about the hotspot-compiler-dev
mailing list