[svn r243] fixed inline asm arg_pointer args hopefully.

This commit is contained in:
Tomas Lindquist Olsen
2008-06-07 19:19:30 +02:00
parent 1af9e9814a
commit 27634ea5b6
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ AsmStatement::toIR(IRState * irs)
return;
static std::string i_cns = "i";
static std::string p_cns = "p";
static std::string p_cns = "m";
static std::string m_cns = "*m";
static std::string mw_cns = "=*m";
static std::string mrw_cns = "+*m";

View File

@@ -1907,7 +1907,7 @@ struct AsmProcessor
addLabel(lbl->asmLabelNum);
} else if ((decl && decl->isCodeseg())) { // if function or label
use_star = false;
addOperand("$a", Arg_Pointer, e, asmcode);
addOperand("*$", Arg_Pointer, e, asmcode);
} else {
if (use_star) {
insnTemplate->writebyte('*');