summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index f115656353..0268879f5c 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -559,6 +559,14 @@ void Environment::SetUnrefImmediate(native_immediate_callback cb,
CreateImmediate(cb, data, obj, false);
}
+inline bool Environment::can_call_into_js() const {
+ return can_call_into_js_;
+}
+
+inline void Environment::set_can_call_into_js(bool can_call_into_js) {
+ can_call_into_js_ = can_call_into_js;
+}
+
inline performance::performance_state* Environment::performance_state() {
return performance_state_.get();
}