mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
More CompilerExplorer changes, like OmitDebugHelpers option
This commit is contained in:
parent
c9e0ab6089
commit
75f11b1459
8 changed files with 100 additions and 79 deletions
|
@ -8066,23 +8066,12 @@ void BfModule::EmitObjectAccessCheck(BfTypedValue typedVal)
|
|||
mBfIRBuilder->CreateObjectAccessCheck(typedVal.mValue, !IsOptimized());
|
||||
}
|
||||
|
||||
void BfModule::EmitNop()
|
||||
{
|
||||
if (mProject == NULL)
|
||||
return;
|
||||
|
||||
if ((mBfIRBuilder->mIgnoreWrites) || (!mHasFullDebugInfo) || (IsOptimized()))
|
||||
return;
|
||||
|
||||
mBfIRBuilder->CreateNop();
|
||||
}
|
||||
|
||||
void BfModule::EmitEnsureInstructionAt()
|
||||
{
|
||||
if (mProject == NULL)
|
||||
return;
|
||||
|
||||
if ((mBfIRBuilder->mIgnoreWrites) || (!mHasFullDebugInfo) || (IsOptimized()))
|
||||
if ((mBfIRBuilder->mIgnoreWrites) || (!mHasFullDebugInfo) || (IsOptimized()) || (mCompiler->mOptions.mOmitDebugHelpers))
|
||||
return;
|
||||
|
||||
mBfIRBuilder->CreateEnsureInstructionAt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue