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 } |