gcc -g -O would choke on alphas if $15 was in use (egcs).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@196 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
7f20ca1dda
commit
377e63b038
11
H/Regs.h
11
H/Regs.h
@ -10,7 +10,7 @@
|
||||
* File: Regs.h *
|
||||
* mods: *
|
||||
* comments: YAP abstract machine registers *
|
||||
* version: $Id: Regs.h,v 1.6 2001-11-15 00:01:43 vsc Exp $ *
|
||||
* version: $Id: Regs.h,v 1.7 2001-11-25 19:48:34 vsc Exp $ *
|
||||
*************************************************************************/
|
||||
|
||||
|
||||
@ -254,8 +254,13 @@ register CELL *HB asm ("$10");
|
||||
register choiceptr B asm ("$11");
|
||||
register yamop *CP asm ("$12");
|
||||
register CELL *S asm ("$13");
|
||||
register CELL CreepFlag asm ("$14");
|
||||
register tr_fr_ptr TR asm ("$15");
|
||||
register tr_fr_ptr TR asm ("$14");
|
||||
/* gcc+debug chokes if $15 is in use on alphas */
|
||||
#ifdef DEBUG
|
||||
#define CreepFlag REGS.CreepFlag_
|
||||
#else
|
||||
register CELL CreepFlag asm ("$15");
|
||||
#endif
|
||||
|
||||
/* Interface with foreign code, make sure the foreign code sees all the
|
||||
registers the way they used to be */
|
||||
|
Reference in New Issue
Block a user