1.1 --- a/src/share/vm/opto/mulnode.hpp Thu Jun 14 14:59:52 2012 -0700 1.2 +++ b/src/share/vm/opto/mulnode.hpp Fri Jun 15 01:25:19 2012 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -41,7 +41,9 @@ 1.11 class MulNode : public Node { 1.12 virtual uint hash() const; 1.13 public: 1.14 - MulNode( Node *in1, Node *in2 ): Node(0,in1,in2) {} 1.15 + MulNode( Node *in1, Node *in2 ): Node(0,in1,in2) { 1.16 + init_class_id(Class_Mul); 1.17 + } 1.18 1.19 // Handle algebraic identities here. If we have an identity, return the Node 1.20 // we are equivalent to. We look for "add of zero" as an identity.