Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
drmortalwombat committed Aug 25, 2022
1 parent 7dd8f4d commit da2c0b4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
13 changes: 9 additions & 4 deletions oscar64/NativeCodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10688,7 +10688,7 @@ bool NativeCodeBasicBlock::FindSameBlocks(NativeCodeProcedure* nproc)
{
for (int i = 0; i < nproc->mBlocks.Size(); i++)
{
if (nproc->mBlocks[i]->IsSame(this))
if (nproc->mBlocks[i] != this && nproc->mBlocks[i]->IsSame(this))
{
nproc->mBlocks[i]->mSameBlock = this;
changed = true;
Expand Down Expand Up @@ -10731,7 +10731,7 @@ bool NativeCodeBasicBlock::MergeSameBlocks(NativeCodeProcedure* nproc)
changed = true;
}

return true;
return changed;
}

bool NativeCodeBasicBlock::MergeBasicBlocks(void)
Expand Down Expand Up @@ -12362,7 +12362,7 @@ bool NativeCodeBasicBlock::SimplifyLoopEnd(NativeCodeProcedure* proc)

if (mTrueJump && !mFalseJump && mTrueJump->mLoopHead)
{
if (mTrueJump->mIns.Size() == 1 && mTrueJump->mFalseJump)
if (mTrueJump->mIns.Size() == 1 && mTrueJump->mFalseJump && mTrueJump->mTrueJump != mTrueJump)
{
mIns.Push(mTrueJump->mIns[0]);
mBranch = mTrueJump->mBranch;
Expand Down Expand Up @@ -27364,7 +27364,12 @@ void NativeCodeProcedure::Compile(InterCodeProcedure* proc)

Optimize();

assert(mEntryBlock->mIns.Size() == 0);
if (mEntryBlock->mIns.Size() > 0)
{
NativeCodeBasicBlock* eblock = AllocateBlock();
eblock->mTrueJump = mEntryBlock;
mEntryBlock = eblock;
}

// Remove temporary RTS

Expand Down
2 changes: 1 addition & 1 deletion oscar64/oscar64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int main2(int argc, const char** argv)

#else
strcpy(strProductName, "oscar64");
strcpy(strProductVersion, "1.8.154");
strcpy(strProductVersion, "1.9.155");

#ifdef __APPLE__
uint32_t length = sizeof(basePath);
Expand Down
8 changes: 4 additions & 4 deletions oscar64/oscar64.rc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,8,154,0
PRODUCTVERSION 1,8,154,0
FILEVERSION 1,9,155,0
PRODUCTVERSION 1,9,155,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -43,12 +43,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "oscar64"
VALUE "FileDescription", "oscar64 compiler"
VALUE "FileVersion", "1.8.154.0"
VALUE "FileVersion", "1.9.155.0"
VALUE "InternalName", "oscar64.exe"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "oscar64.exe"
VALUE "ProductName", "oscar64"
VALUE "ProductVersion", "1.8.154.0"
VALUE "ProductVersion", "1.9.155.0"
END
END
BLOCK "VarFileInfo"
Expand Down
6 changes: 3 additions & 3 deletions oscar64setup/oscar64setup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -4257,15 +4257,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:oscar64"
"ProductCode" = "8:{2B60A66D-2355-44A1-A18F-6D4FFB905B87}"
"PackageCode" = "8:{83F5E3A7-10BF-4D0E-AE7A-D51EBDB9A37E}"
"ProductCode" = "8:{87022324-8ABF-4A22-8C5D-3125AA498926}"
"PackageCode" = "8:{AAF69F45-4ADE-4083-899D-F91680C978F5}"
"UpgradeCode" = "8:{9AB61EFF-ACAC-4079-9950-8D96615CD4EF}"
"AspNetVersion" = "8:2.0.50727.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.8.154"
"ProductVersion" = "8:1.9.155"
"Manufacturer" = "8:oscar64"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
Expand Down

0 comments on commit da2c0b4

Please sign in to comment.