mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Start of wasm support
This commit is contained in:
parent
053b302d42
commit
b7b065855d
22 changed files with 487 additions and 35 deletions
|
@ -1688,7 +1688,8 @@ void BfContext::UpdateRevisedTypes()
|
|||
|
||||
int wantPtrSize;
|
||||
if ((mCompiler->mOptions.mMachineType == BfMachineType_x86) |
|
||||
(mCompiler->mOptions.mMachineType == BfMachineType_ARM))
|
||||
(mCompiler->mOptions.mMachineType == BfMachineType_ARM) ||
|
||||
(mCompiler->mOptions.mMachineType == BfMachineType_Wasm32))
|
||||
wantPtrSize = 4;
|
||||
else
|
||||
wantPtrSize = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue