mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-01 04:23:14 +01:00
[svn r243] fixed inline asm arg_pointer args hopefully.
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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('*');
|
||||
|
||||
Reference in New Issue
Block a user