aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm
diff options
context:
space:
mode:
authordrchase <none@none>2013-07-09 08:56:04 -0400
committerdrchase <none@none>2013-07-09 08:56:04 -0400
commitee1c5efee3c1d0c2fa3ae5ac73100b337e8531c4 (patch)
treef87ab8d8ac65ccb39a1641fcff215744049bfe48 /src/share/vm
parent7db4e8faf321a7002ae45eca837edb6f20c4a002 (diff)
8017578: Hotspot compilation error with latest Studio compiler
Summary: Make the destructor virtual (note more non-compiler hotspot errors occur downstream) Reviewed-by: kvn, twisti
Diffstat (limited to 'src/share/vm')
-rw-r--r--src/share/vm/adlc/forms.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/adlc/forms.hpp b/src/share/vm/adlc/forms.hpp
index a682e65a3..63e367dd7 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");