reduce vm::Zone interface

This commit is contained in:
Joshua Warner
2014-05-04 22:02:47 -06:00
parent eb92c904c6
commit 2d0ac3ac17
7 changed files with 63 additions and 75 deletions

View File

@ -118,7 +118,7 @@ class OffsetPromise : public Promise {
class ListenPromise : public Promise {
public:
ListenPromise(vm::System* s, util::Allocator* allocator)
ListenPromise(vm::System* s, util::AllocOnly* allocator)
: s(s), allocator(allocator), listener(0)
{
}
@ -142,7 +142,7 @@ class ListenPromise : public Promise {
}
vm::System* s;
util::Allocator* allocator;
util::AllocOnly* allocator;
Listener* listener;
Promise* promise;
};
@ -150,7 +150,7 @@ class ListenPromise : public Promise {
class DelayedPromise : public ListenPromise {
public:
DelayedPromise(vm::System* s,
util::Allocator* allocator,
util::AllocOnly* allocator,
Promise* basis,
DelayedPromise* next)
: ListenPromise(s, allocator), basis(basis), next(next)