11/*
2- * Copyright (c) 1997, 2023 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 1997, 2024 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -167,7 +167,7 @@ const Type* MulHiValue(const Type *t1, const Type *t2, const Type *bot);
167167// Upper 64 bits of a 64 bit by 64 bit multiply
168168class MulHiLNode : public Node {
169169public:
170- MulHiLNode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {}
170+ MulHiLNode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {}
171171 virtual int Opcode () const ;
172172 virtual const Type* Value (PhaseGVN* phase) const ;
173173 const Type *bottom_type () const { return TypeLong::LONG; }
@@ -178,7 +178,7 @@ class MulHiLNode : public Node {
178178// Upper 64 bits of a 64 bit by 64 bit unsigned multiply
179179class UMulHiLNode : public Node {
180180public:
181- UMulHiLNode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {}
181+ UMulHiLNode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {}
182182 virtual int Opcode () const ;
183183 virtual const Type* Value (PhaseGVN* phase) const ;
184184 const Type *bottom_type () const { return TypeLong::LONG; }
@@ -291,7 +291,7 @@ class RotateRightNode : public TypeNode {
291291// Signed shift right
292292class RShiftINode : public Node {
293293public:
294- RShiftINode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {}
294+ RShiftINode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {}
295295 virtual int Opcode () const ;
296296 virtual Node* Identity (PhaseGVN* phase);
297297 virtual Node *Ideal (PhaseGVN *phase, bool can_reshape);
@@ -304,7 +304,7 @@ class RShiftINode : public Node {
304304// Signed shift right
305305class RShiftLNode : public Node {
306306public:
307- RShiftLNode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {}
307+ RShiftLNode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {}
308308 virtual int Opcode () const ;
309309 virtual Node* Identity (PhaseGVN* phase);
310310 virtual const Type* Value (PhaseGVN* phase) const ;
@@ -316,7 +316,7 @@ class RShiftLNode : public Node {
316316// Logical shift right
317317class URShiftBNode : public Node {
318318public:
319- URShiftBNode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {
319+ URShiftBNode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {
320320 ShouldNotReachHere (); // only vector variant is used
321321 }
322322 virtual int Opcode () const ;
@@ -326,7 +326,7 @@ class URShiftBNode : public Node {
326326// Logical shift right
327327class URShiftSNode : public Node {
328328public:
329- URShiftSNode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {
329+ URShiftSNode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {
330330 ShouldNotReachHere (); // only vector variant is used
331331 }
332332 virtual int Opcode () const ;
@@ -336,7 +336,7 @@ class URShiftSNode : public Node {
336336// Logical shift right
337337class URShiftINode : public Node {
338338public:
339- URShiftINode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {}
339+ URShiftINode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {}
340340 virtual int Opcode () const ;
341341 virtual Node* Identity (PhaseGVN* phase);
342342 virtual Node *Ideal (PhaseGVN *phase, bool can_reshape);
@@ -349,7 +349,7 @@ class URShiftINode : public Node {
349349// Logical shift right
350350class URShiftLNode : public Node {
351351public:
352- URShiftLNode ( Node *in1, Node *in2 ) : Node(0 ,in1,in2) {}
352+ URShiftLNode ( Node *in1, Node *in2 ) : Node(nullptr ,in1,in2) {}
353353 virtual int Opcode () const ;
354354 virtual Node* Identity (PhaseGVN* phase);
355355 virtual Node *Ideal (PhaseGVN *phase, bool can_reshape);
@@ -396,7 +396,7 @@ class FmaFNode : public FmaNode {
396396class MulAddS2INode : public Node {
397397 virtual uint hash () const ;
398398public:
399- MulAddS2INode (Node* in1, Node *in2, Node *in3, Node* in4) : Node(0 , in1, in2, in3, in4) {}
399+ MulAddS2INode (Node* in1, Node *in2, Node *in3, Node* in4) : Node(nullptr , in1, in2, in3, in4) {}
400400 virtual int Opcode () const ;
401401 const Type *bottom_type () const { return TypeInt::INT; }
402402 virtual uint ideal_reg () const { return Op_RegI; }
0 commit comments