Mercurial > hg > truffle
comparison src/share/vm/adlc/formsopt.hpp @ 4121:db2e64ca2d5a
7090968: Allow adlc register class to depend on runtime conditions
Summary: allow reg_class definition as a function.
Reviewed-by: kvn, never
author | roland |
---|---|
date | Tue, 22 Nov 2011 09:45:57 +0100 |
parents | f95d63e2154a |
children |
comparison
equal
deleted
inserted
replaced
4120:f03a3c8bd5e5 | 4121:db2e64ca2d5a |
---|---|
159 // Public Data | 159 // Public Data |
160 const char *_classid; // Name of class | 160 const char *_classid; // Name of class |
161 NameList _regDefs; // List of registers in class | 161 NameList _regDefs; // List of registers in class |
162 Dict _regDef; // Dictionary of registers in class | 162 Dict _regDef; // Dictionary of registers in class |
163 bool _stack_or_reg; // Allowed on any stack slot | 163 bool _stack_or_reg; // Allowed on any stack slot |
164 char* _user_defined; | |
164 | 165 |
165 // Public Methods | 166 // Public Methods |
166 RegClass(const char *classid);// Constructor | 167 RegClass(const char *classid);// Constructor |
167 | 168 |
168 void addReg(RegDef *regDef); // Add a register to this class | 169 void addReg(RegDef *regDef); // Add a register to this class |