Mercurial > hg > truffle
comparison src/share/vm/adlc/forms.hpp @ 11108:b42fe1a8e180
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
author | drchase |
---|---|
date | Tue, 09 Jul 2013 08:56:04 -0400 |
parents | d336b3173277 |
children |
comparison
equal
deleted
inserted
replaced
11107:e554162ab094 | 11108:b42fe1a8e180 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
144 virtual bool is_cisc_mem(FormDict &globals) const { return false; } | 144 virtual bool is_cisc_mem(FormDict &globals) const { return false; } |
145 | 145 |
146 // Public Methods | 146 // Public Methods |
147 Form(int formType=0, int line=0) | 147 Form(int formType=0, int line=0) |
148 : _next(NULL), _linenum(line), _ftype(formType) { }; | 148 : _next(NULL), _linenum(line), _ftype(formType) { }; |
149 ~Form() {}; | 149 virtual ~Form() {}; |
150 | 150 |
151 virtual bool ideal_only() const { | 151 virtual bool ideal_only() const { |
152 assert(0,"Check of ideal status on non-instruction/operand form.\n"); | 152 assert(0,"Check of ideal status on non-instruction/operand form.\n"); |
153 return FALSE; | 153 return FALSE; |
154 } | 154 } |