mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Added bitcode emission, additional logging
This commit is contained in:
parent
1e8c633a36
commit
43b69023f6
14 changed files with 74 additions and 31 deletions
|
@ -79,6 +79,9 @@ namespace IDE.Compiler
|
|||
[StdCall, CLink]
|
||||
extern static void BfSystem_DbgPrintTimings();
|
||||
|
||||
[StdCall, CLink]
|
||||
extern static void BfSystem_Log(void* bfSystem, char8* str);
|
||||
|
||||
public void* mNativeBfSystem;
|
||||
public bool mIsTiming;
|
||||
public Monitor mMonitor = new Monitor() ~ delete _;
|
||||
|
@ -360,5 +363,10 @@ namespace IDE.Compiler
|
|||
AddTypeOptions(typeOption.mFilter, typeOption.mBfSIMDSetting, typeOption.mBfOptimizationLevel, typeOption.mEmitDebugInfo, typeOption.mRuntimeChecks,
|
||||
typeOption.mInitLocalVariables, typeOption.mEmitDynamicCastCheck, typeOption.mEmitObjectAccessCheck, typeOption.mAllocStackTraceDepth);
|
||||
}
|
||||
|
||||
public void Log(String str)
|
||||
{
|
||||
BfSystem_Log(mNativeBfSystem, str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue