Mercurial > hg > truffle
comparison src/share/vm/adlc/forms.hpp @ 603:dbbe28fc66b5
6778669: Patch from Red Hat -- fixes compilation errors
Summary: Some fixes which are required to build on recent GCCs.
Reviewed-by: never, kvn
Contributed-by: langel@redhat.com
author | twisti |
---|---|
date | Fri, 27 Feb 2009 03:35:40 -0800 |
parents | 4d9884b01ba6 |
children | 337400e7a5dd |
comparison
equal
deleted
inserted
replaced
602:ed6404fac86b | 603:dbbe28fc66b5 |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-2009 Sun Microsystems, Inc. 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. |
122 int _ftype; // Indicator for derived class type | 122 int _ftype; // Indicator for derived class type |
123 | 123 |
124 public: | 124 public: |
125 // Public Data | 125 // Public Data |
126 Form *_next; // Next pointer for form lists | 126 Form *_next; // Next pointer for form lists |
127 long _linenum; // Line number for debugging | 127 int _linenum; // Line number for debugging |
128 | 128 |
129 // Dynamic type check for common forms. | 129 // Dynamic type check for common forms. |
130 virtual OpClassForm *is_opclass() const; | 130 virtual OpClassForm *is_opclass() const; |
131 virtual OperandForm *is_operand() const; | 131 virtual OperandForm *is_operand() const; |
132 virtual InstructForm *is_instruction() const; | 132 virtual InstructForm *is_instruction() const; |