File tree Expand file tree Collapse file tree 11 files changed +0
-44
lines changed Expand file tree Collapse file tree 11 files changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -4043,9 +4043,6 @@ encode %{
40434043// SP meets the minimum alignment.
40444044
40454045frame %{
4046- // What direction does stack grow in (assumed to be same for C & Java)
4047- stack_direction(TOWARDS_LOW);
4048-
40494046 // These three registers define part of the calling convention
40504047 // between compiled code and the interpreter.
40514048
Original file line number Diff line number Diff line change @@ -1664,9 +1664,6 @@ encode %{
16641664// the region from SP to FP meets the minimum stack alignment.
16651665
16661666frame %{
1667- // What direction does stack grow in (assumed to be same for native & Java)
1668- stack_direction(TOWARDS_LOW);
1669-
16701667 // These two registers define part of the calling convention
16711668 // between compiled code and the interpreter.
16721669 inline_cache_reg(R_Ricklass); // Inline Cache Register or Method* for I2C
Original file line number Diff line number Diff line change @@ -4118,9 +4118,6 @@ encode %{
41184118// Definition of frame structure and management information.
41194119
41204120frame %{
4121- // What direction does stack grow in (assumed to be same for native & Java).
4122- stack_direction(TOWARDS_LOW);
4123-
41244121 // These two registers define part of the calling convention between
41254122 // compiled code and the interpreter.
41264123
Original file line number Diff line number Diff line change @@ -2456,9 +2456,6 @@ source %{
24562456// Definition of frame structure and management information.
24572457
24582458frame %{
2459- // What direction does stack grow in (assumed to be same for native & Java).
2460- stack_direction(TOWARDS_LOW);
2461-
24622459 // These two registers define part of the calling convention between
24632460 // compiled code and the interpreter.
24642461
Original file line number Diff line number Diff line change @@ -3191,9 +3191,6 @@ encode %{
31913191// the region from SP to FP meets the minimum stack alignment.
31923192
31933193frame %{
3194- // What direction does stack grow in (assumed to be same for C & Java)
3195- stack_direction(TOWARDS_LOW);
3196-
31973194 // These three registers define part of the calling convention
31983195 // between compiled code and the interpreter.
31993196 inline_cache_reg(EAX); // Inline Cache Register
Original file line number Diff line number Diff line change @@ -2740,9 +2740,6 @@ encode %{
27402740
27412741frame
27422742%{
2743- // What direction does stack grow in (assumed to be same for C & Java)
2744- stack_direction(TOWARDS_LOW);
2745-
27462743 // These three registers define part of the calling convention
27472744 // between compiled code and the interpreter.
27482745 inline_cache_reg(RAX); // Inline Cache Register
Original file line number Diff line number Diff line change @@ -985,9 +985,6 @@ void ADLParser::frame_parse(void) {
985985 parse_err (SYNERR, " missing identifier inside frame block.\n " );
986986 return ;
987987 }
988- if (strcmp (token," stack_direction" )==0 ) {
989- stack_dir_parse (frame);
990- }
991988 if (strcmp (token," sync_stack_slots" )==0 ) {
992989 sync_stack_slots_parse (frame);
993990 }
@@ -1109,21 +1106,6 @@ void ADLParser::frame_parse(void) {
11091106 // skipws();
11101107}
11111108
1112- // ------------------------------stack_dir_parse--------------------------------
1113- void ADLParser::stack_dir_parse (FrameForm *frame) {
1114- char *direction = parse_one_arg (" stack direction entry" );
1115- if (strcmp (direction, " TOWARDS_LOW" ) == 0 ) {
1116- frame->_direction = false ;
1117- }
1118- else if (strcmp (direction, " TOWARDS_HIGH" ) == 0 ) {
1119- frame->_direction = true ;
1120- }
1121- else {
1122- parse_err (SYNERR, " invalid value inside stack direction entry.\n " );
1123- return ;
1124- }
1125- }
1126-
11271109// ------------------------------sync_stack_slots_parse-------------------------
11281110void ADLParser::sync_stack_slots_parse (FrameForm *frame) {
11291111 // Assign value into frame form
Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ class ADLParser {
110110 void enc_class_parse_block (EncClass* encoding, char * ec_name);
111111
112112 // Parse the components of the frame section
113- void stack_dir_parse (FrameForm *frame); // Parse the stack direction entry
114113 void sync_stack_slots_parse (FrameForm *frame);
115114 void frame_pointer_parse (FrameForm *frame, bool native);
116115 void interpreter_frame_pointer_parse (FrameForm *frame, bool native);
Original file line number Diff line number Diff line change @@ -334,7 +334,6 @@ class FrameForm : public Form {
334334
335335public:
336336 // Public Data
337- bool _direction; // Direction of stack growth
338337 char *_sync_stack_slots;
339338 char *_inline_cache_reg;
340339 char *_interpreter_method_oop_reg;
Original file line number Diff line number Diff line change @@ -4143,9 +4143,6 @@ void ArchDesc::buildInstructMatchCheck(FILE *fp_cpp) const {
41434143// Output the methods to Matcher which specify frame behavior
41444144void ArchDesc::buildFrameMethods (FILE *fp_cpp) {
41454145 fprintf (fp_cpp," \n\n " );
4146- // Stack Direction
4147- fprintf (fp_cpp," bool Matcher::stack_direction() const { return %s; }\n\n " ,
4148- _frame->_direction ? " true" : " false" );
41494146 // Sync Stack Slots
41504147 fprintf (fp_cpp," int Compile::sync_stack_slots() const { return %s; }\n\n " ,
41514148 _frame->_sync_stack_slots );
You can’t perform that action at this time.
0 commit comments