Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
drmortalwombat committed Oct 10, 2021
1 parent d493bdd commit 6bd3e3a
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 22 deletions.
14 changes: 0 additions & 14 deletions oscar64/InterCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4484,20 +4484,6 @@ bool InterCodeProcedure::GlobalConstantPropagation(void)
ResetVisited();
mEntryBlock->CollectConstTemps(ctemps, assignedTemps);

FILE* file;
fopen_s(&file, "r:\\cldiss.txt", "a");

for (int i = 0; i < assignedTemps.Size(); i++)
{
if (assignedTemps[i])
{
if (ctemps[i])
fprintf(file, "%d, ", i);
}
}
fprintf(file, "\n");
fclose(file);

ResetVisited();
return mEntryBlock->PropagateConstTemps(ctemps);
}
Expand Down
2 changes: 1 addition & 1 deletion oscar64/oscar64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int main(int argc, const char** argv)
DWORD length = ::GetModuleFileNameA(NULL, basePath, sizeof(basePath));

#else
printf("Starting oscar64 1.0.38\n");
printf("Starting oscar64 1.1.40\n");

#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,0,38,0
PRODUCTVERSION 1,0,38,0
FILEVERSION 1,1,40,0
PRODUCTVERSION 1,1,40,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.0.38.0"
VALUE "FileVersion", "1.1.40.0"
VALUE "InternalName", "oscar64.exe"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "oscar64.exe"
VALUE "ProductName", "oscar64"
VALUE "ProductVersion", "1.0.38.0"
VALUE "ProductVersion", "1.1.40.0"
END
END
BLOCK "VarFileInfo"
Expand Down
Loading

0 comments on commit 6bd3e3a

Please sign in to comment.