diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-10-25 15:29:21 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-10-25 15:29:21 -0400 |
commit | 2385b6b946eb1215d75a3dddccb05aaf8f605ba3 (patch) | |
tree | e7763596f996cbc602dfbefff837b20da643bbba /src/mono_reduce.sml | |
parent | 5a88b41a6655f601c989ae94ce1fc8bb391ca630 (diff) |
Use call/cc for recv and sleep
Diffstat (limited to 'src/mono_reduce.sml')
-rw-r--r-- | src/mono_reduce.sml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mono_reduce.sml b/src/mono_reduce.sml index d09c957c..04cd199e 100644 --- a/src/mono_reduce.sml +++ b/src/mono_reduce.sml @@ -112,6 +112,7 @@ fun impure (e, _) = | EServerCall _ => true | ERecv _ => true | ESleep _ => true + | ESpawn _ => true val liftExpInExp = Monoize.liftExpInExp @@ -451,8 +452,9 @@ fun reduce file = | ESignalSource e => summarize d e | EServerCall (e, _, _) => summarize d e @ [Unsure] - | ERecv (e, _, _) => summarize d e @ [Unsure] - | ESleep (e, _) => summarize d e @ [Unsure] + | ERecv (e, _) => summarize d e @ [Unsure] + | ESleep e => summarize d e @ [Unsure] + | ESpawn e => summarize d e @ [Unsure] in (*Print.prefaces "Summarize" [("e", MonoPrint.p_exp MonoEnv.empty (e, ErrorMsg.dummySpan)), |