Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
clean-ide
Commits
742c8cc2
Commit
742c8cc2
authored
Dec 19, 2013
by
Lazlo Domoszlai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complete the implementation of the DisableRTSFlags option
parent
bd7daad8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
Interfaces/LinkerInterface/WriteOptionsFile.icl
Interfaces/LinkerInterface/WriteOptionsFile.icl
+3
-1
MacOSX/PmCleanSystem.icl
MacOSX/PmCleanSystem.icl
+5
-1
Pm/PmProject.icl
Pm/PmProject.icl
+1
-0
Unix/PmCleanSystem.icl
Unix/PmCleanSystem.icl
+5
-1
No files found.
Interfaces/LinkerInterface/WriteOptionsFile.icl
View file @
742c8cc2
...
...
@@ -41,7 +41,7 @@ where
FlagsToApplicationOptions
::
!
Int
!
ApplicationOptions
->
ApplicationOptions
;
FlagsToApplicationOptions
flags
applicationOptions
=
{
applicationOptions
&
sgc
=
showgc
,
pss
=
printstacksize
,
marking_collection
=
marking_collection
,
set
=
showexectime
,
o
=
output
,
memoryProfiling
=
memoryProfiling
,
write_stderr_to_file
=
write_stderr_to_file
};
o
=
output
,
memoryProfiling
=
memoryProfiling
,
write_stderr_to_file
=
write_stderr_to_file
,
disable_rts_flags
=
disable_rts_flags
};
where
showgc
=
(
flags
bitand
2
)
<>
0
;
...
...
@@ -62,6 +62,8 @@ where
=
BasicValuesOnly
;
// otherwise
=
ShowConstructors
;
disable_rts_flags
=
(
flags
bitand
8192
)
<>
0
;
write_options_file
::
!{#.
Char
}
!.
Int
!.
Int
!.
Int
!.
Int
!.
Int
!.
Int
!
Bool
!*
a
->
*(!
Bool
,!*
a
)
|
FileSystem
a
;
...
...
MacOSX/PmCleanSystem.icl
View file @
742c8cc2
...
...
@@ -883,7 +883,7 @@ where
ApplicationOptionsToFlags
::
!
ApplicationOptions
->
Int
ApplicationOptionsToFlags
{
sgc
,
pss
,
marking_collection
,
set
,
o
,
memoryProfiling
,
write_stderr_to_file
}
=
showgc
+
printstacksize
+
showexectime
+
cons
+
marking_collection_mask
+
memory_profiling_mask
+
write_stderr_to_file_mask
=
showgc
+
printstacksize
+
showexectime
+
cons
+
marking_collection_mask
+
memory_profiling_mask
+
write_stderr_to_file_mask
+
disable_rts_flags_mask
where
showgc
|
sgc
=
2
...
...
@@ -910,6 +910,10 @@ where
NoReturnType
->
16
NoConsole
->
16
disable_rts_flags_mask
|
disable_rts_flags
=
8192
=
0
(
FWI
)
infixl
(
FWI
)
f
i
:==
fwritei
i
f
...
...
Pm/PmProject.icl
View file @
742c8cc2
...
...
@@ -288,6 +288,7 @@ eqAppOpts ao1 ao2
ao1
.
sgc
==
ao2
.
sgc
&&
ao1
.
pss
==
ao2
.
pss
&&
ao1
.
marking_collection
==
ao2
.
marking_collection
&&
ao1
.
disable_rts_flags
==
ao2
.
disable_rts_flags
&&
ao1
.
o
==
ao2
.
o
&&
ao1
.
fn
==
ao2
.
fn
&&
ao1
.
fs
==
ao2
.
fs
&&
...
...
Unix/PmCleanSystem.icl
View file @
742c8cc2
...
...
@@ -918,7 +918,7 @@ where
ApplicationOptionsToFlags
::
!
ApplicationOptions
->
Int
ApplicationOptionsToFlags
{
sgc
,
pss
,
marking_collection
,
set
,
o
,
memoryProfiling
,
write_stderr_to_file
}
=
showgc
+
printstacksize
+
showexectime
+
cons
+
marking_collection_mask
+
memory_profiling_mask
+
write_stderr_to_file_mask
=
showgc
+
printstacksize
+
showexectime
+
cons
+
marking_collection_mask
+
memory_profiling_mask
+
write_stderr_to_file_mask
+
disable_rts_flags_mask
where
showgc
|
sgc
=
2
...
...
@@ -945,6 +945,10 @@ where
NoReturnType
->
16
NoConsole
->
16
disable_rts_flags_mask
|
disable_rts_flags
=
8192
=
0
(
FWI
)
infixl
(
FWI
)
f
i
:==
fwritei
i
f
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment