equal
deleted
inserted
replaced
2868 // synthesize the arguments list for the enc_class from the |
2868 // synthesize the arguments list for the enc_class from the |
2869 // arguments to the instruct definition. |
2869 // arguments to the instruct definition. |
2870 const char* param = NULL; |
2870 const char* param = NULL; |
2871 inst._parameters.reset(); |
2871 inst._parameters.reset(); |
2872 while ((param = inst._parameters.iter()) != NULL) { |
2872 while ((param = inst._parameters.iter()) != NULL) { |
2873 OperandForm* opForm = (OperandForm*) inst._localNames[param]; |
2873 OpClassForm* opForm = inst._localNames[param]->is_opclass(); |
|
2874 assert(opForm != NULL, "sanity"); |
2874 encoding->add_parameter(opForm->_ident, param); |
2875 encoding->add_parameter(opForm->_ident, param); |
2875 } |
2876 } |
2876 |
2877 |
2877 if (!inst._is_postalloc_expand) { |
2878 if (!inst._is_postalloc_expand) { |
2878 // Define a MacroAssembler instance for use by the encoding. The |
2879 // Define a MacroAssembler instance for use by the encoding. The |
3338 // synthesize the arguments list for the enc_class from the |
3339 // synthesize the arguments list for the enc_class from the |
3339 // arguments to the instruct definition. |
3340 // arguments to the instruct definition. |
3340 const char* param = NULL; |
3341 const char* param = NULL; |
3341 inst._parameters.reset(); |
3342 inst._parameters.reset(); |
3342 while ((param = inst._parameters.iter()) != NULL) { |
3343 while ((param = inst._parameters.iter()) != NULL) { |
3343 OperandForm* opForm = (OperandForm*) inst._localNames[param]; |
3344 OpClassForm* opForm = inst._localNames[param]->is_opclass(); |
|
3345 assert(opForm != NULL, "sanity"); |
3344 encoding->add_parameter(opForm->_ident, param); |
3346 encoding->add_parameter(opForm->_ident, param); |
3345 } |
3347 } |
3346 |
3348 |
3347 // Parse the following ( ) expression. |
3349 // Parse the following ( ) expression. |
3348 constant_parse_expression(encoding, ec_name); |
3350 constant_parse_expression(encoding, ec_name); |