diff options
Diffstat (limited to 'src/interp/interp-inl.h')
-rw-r--r-- | src/interp/interp-inl.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/interp/interp-inl.h b/src/interp/interp-inl.h index 1237d811..49d85662 100644 --- a/src/interp/interp-inl.h +++ b/src/interp/interp-inl.h @@ -467,6 +467,10 @@ inline const Features& Store::features() const { return features_; } +inline std::set<Thread*>& Store::threads() { + return threads_; +} + //// Object //// // static inline bool Object::classof(const Object* obj) { @@ -938,16 +942,6 @@ inline std::vector<DataSegment>& Instance::datas() { } //// Thread //// -// static -inline bool Thread::classof(const Object* obj) { - return obj->kind() == skind; -} - -// static -inline Thread::Ptr Thread::New(Store& store, const Options& options) { - return store.Alloc<Thread>(store, options); -} - inline Store& Thread::store() { return store_; } |