mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
CTFE updates, including heap support
This commit is contained in:
parent
792d92d014
commit
6bb363fb4b
29 changed files with 3050 additions and 595 deletions
|
@ -1723,6 +1723,13 @@ void BeDbgFile::ToString(String& str)
|
|||
str = '\\';
|
||||
}
|
||||
|
||||
void BeDbgFile::GetFilePath(String& outStr)
|
||||
{
|
||||
outStr.Append(mDirectory);
|
||||
outStr.Append(DIR_SEP_CHAR);
|
||||
outStr.Append(mFileName);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
BeModule::BeModule(const StringImpl& moduleName, BeContext* context)
|
||||
|
@ -2442,6 +2449,10 @@ String BeModule::ToString(BeFunction* wantFunc)
|
|||
}
|
||||
}
|
||||
break;
|
||||
DISPLAY_INST1(BeConstEvalGetType, "ConstEvalGetType", mTypeId);
|
||||
DISPLAY_INST2(BeConstEvalDynamicCastCheck, "ConstEvalDynamicCastCheck", mValue, mTypeId);
|
||||
DISPLAY_INST2(BeConstEvalGetVirtualFunc, "ConstEvalGetVirtualFunc", mValue, mVirtualTableIdx);
|
||||
DISPLAY_INST3(BeConstEvalGetInterfaceFunc, "ConstEvalGetInterfaceFunc", mValue, mIFaceTypeId, mVirtualTableIdx);
|
||||
default:
|
||||
BF_FATAL("Notimpl");
|
||||
str += "<UNKNOWN INST>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue