aboutsummaryrefslogtreecommitdiff
path: root/frontend/Heap.dcl
diff options
context:
space:
mode:
authorjohnvg2001-11-30 15:00:03 +0000
committerjohnvg2001-11-30 15:00:03 +0000
commit1054ca000bbc37a3b6715525cd4af09b0ba9f018 (patch)
treefad1e52040e57434708439084ab0d7d560daa4f5 /frontend/Heap.dcl
parentdifferent representation of selector kind in Selection (diff)
initPtr modifies the *World
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@909 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/Heap.dcl')
-rw-r--r--frontend/Heap.dcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/Heap.dcl b/frontend/Heap.dcl
index 3468ff3..a3eaae3 100644
--- a/frontend/Heap.dcl
+++ b/frontend/Heap.dcl
@@ -23,7 +23,7 @@ sreadPtr :: !(Ptr v) !(Heap v) -> v
allocPtr :: Ptr v;
-initPtr :: !(Ptr v) !v !*(Heap v) -> .Heap v;
+initPtr :: !(Ptr v) !v !*(Heap v) !*World -> (!.Heap v,!*World);
ptrToInt :: !(Ptr w) -> Int