Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Oct 19, 2023
1 parent 101c9ce commit ab77ed6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
6 changes: 2 additions & 4 deletions bld/cc/c/cpragaxp.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ void AsmUsesAuto( aux_info *info )
/* unused parameters */ (void)info;

/*
* We want to force the calling routine to set up a [E]BP frame
* for the use of this pragma. This is done by saying the pragma
* modifies the [E]SP register. A kludge, but it works.
* We want to force the calling routine to set up a stack frame
* for the use of this pragma.
*/
// info->cclass_target |= FECALL_X86_GENERATE_STACK_FRAME;
// HW_CTurnOff( info->save, HW_xSP );
}

bool AsmInsertFixups( aux_info *info )
Expand Down
6 changes: 2 additions & 4 deletions bld/cc/c/cpragmps.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ void AsmUsesAuto( aux_info *info )
/* unused parameters */ (void)info;

/*
* We want to force the calling routine to set up a [E]BP frame
* for the use of this pragma. This is done by saying the pragma
* modifies the [E]SP register. A kludge, but it works.
* We want to force the calling routine to set up a stack frame
* for the use of this pragma.
*/
// info->cclass_target |= FECALL_X86_GENERATE_STACK_FRAME;
// HW_CTurnOff( info->save, HW_xSP );
}

bool AsmInsertFixups( aux_info *info )
Expand Down
6 changes: 2 additions & 4 deletions bld/cc/c/cpragppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,10 @@ void AsmUsesAuto( aux_info *info )
/* unused parameters */ (void)info;

/*
* We want to force the calling routine to set up a [E]BP frame
* for the use of this pragma. This is done by saying the pragma
* modifies the [E]SP register. A kludge, but it works.
* We want to force the calling routine to set up a stack frame
* for the use of this pragma.
*/
// info->cclass_target |= FECALL_X86_GENERATE_STACK_FRAME;
// HW_CTurnOff( info->save, HW_xSP );
}

bool AsmInsertFixups( aux_info *info )
Expand Down
5 changes: 5 additions & 0 deletions bld/plusplus/c/cpragrsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ AUX_INFO *AsmSysCreateAux( const char *name )
void AsmSysUsesAuto( void )
/*************************/
{
/*
* We want to force the calling routine to set up a stack frame
* for the use of this pragma.
*/
// info->cclass_target |= FECALL_X86_GENERATE_STACK_FRAME;
ScopeASMUsesAuto();
}

Expand Down

0 comments on commit ab77ed6

Please sign in to comment.