8017578: Hotspot compilation error with latest Studio compiler

Tue, 09 Jul 2013 08:56:04 -0400

author
drchase
date
Tue, 09 Jul 2013 08:56:04 -0400
changeset 5381
b42fe1a8e180
parent 5380
e554162ab094
child 5383
5f533e38e7d5

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

src/share/vm/adlc/forms.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/adlc/forms.hpp	Tue Jul 09 17:20:32 2013 +0200
     1.2 +++ b/src/share/vm/adlc/forms.hpp	Tue Jul 09 08:56:04 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2013, 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 @@ -146,7 +146,7 @@
    1.11    // Public Methods
    1.12    Form(int formType=0, int line=0)
    1.13      : _next(NULL), _linenum(line), _ftype(formType) { };
    1.14 -  ~Form() {};
    1.15 +  virtual ~Form() {};
    1.16  
    1.17    virtual bool ideal_only() const {
    1.18      assert(0,"Check of ideal status on non-instruction/operand form.\n");

mercurial