diff --git a/src/share/vm/adlc/forms.hpp b/src/share/vm/adlc/forms.hpp index a682e65a36f08dcaf9a18f3948c6f00aa264fbbc..63e367dd730127de3ff31e870d7afd15e5b41177 100644 --- a/src/share/vm/adlc/forms.hpp +++ b/src/share/vm/adlc/forms.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -146,7 +146,7 @@ public: // Public Methods Form(int formType=0, int line=0) : _next(NULL), _linenum(line), _ftype(formType) { }; - ~Form() {}; + virtual ~Form() {}; virtual bool ideal_only() const { assert(0,"Check of ideal status on non-instruction/operand form.\n");