Limit inline asm check to same section
This commit is contained in:
parent
4901e015f6
commit
b3d80bcb0f
|
@ -12807,7 +12807,7 @@ void NativeCodeBasicBlock::CallAssembler(InterCodeProcedure* proc, NativeCodePro
|
||||||
|
|
||||||
assert(ins->mSrc[0].mLinkerObject);
|
assert(ins->mSrc[0].mLinkerObject);
|
||||||
|
|
||||||
if (ins->mCode == IC_ASSEMBLER && (proc->mCompilerOptions & COPT_OPTIMIZE_ASSEMBLER))
|
if (ins->mCode == IC_ASSEMBLER && (proc->mCompilerOptions & COPT_OPTIMIZE_ASSEMBLER) && ins->mSrc[0].mLinkerObject->mSection == proc->mLinkerObject->mSection)
|
||||||
{
|
{
|
||||||
ExpandingArray<NativeCodeInstruction> tains;
|
ExpandingArray<NativeCodeInstruction> tains;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue