summaryrefslogtreecommitdiff
path: root/ext/console/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-12-28 20:30:07 +0100
committerGitHub <noreply@github.com>2023-12-28 19:30:07 +0000
commitf85d65e066302ad7357321ec9e2940c2346d2263 (patch)
treee9948080ff31e23b98bad3b4dfbbe1d63182c76a /ext/console/lib.rs
parentc08319262afeca47d1b9f3dbfa3254e692a48a2d (diff)
chore: update deno_core to 0.240.0 (#21726)
Diffstat (limited to 'ext/console/lib.rs')
-rw-r--r--ext/console/lib.rs65
1 files changed, 1 insertions, 64 deletions
diff --git a/ext/console/lib.rs b/ext/console/lib.rs
index 5464da555..87791303c 100644
--- a/ext/console/lib.rs
+++ b/ext/console/lib.rs
@@ -5,20 +5,7 @@ use std::path::PathBuf;
deno_core::extension!(
deno_console,
- ops = [
- op_is_any_arraybuffer,
- op_is_arguments_object,
- op_is_async_function,
- op_is_generator_function,
- op_is_generator_object,
- op_is_map_iterator,
- op_is_module_namespace_object,
- op_is_native_error,
- op_is_promise,
- op_is_reg_exp,
- op_is_set_iterator,
- op_preview_entries,
- ],
+ ops = [op_is_any_arraybuffer, op_preview_entries,],
esm = ["01_console.js"],
);
@@ -31,56 +18,6 @@ fn op_is_any_arraybuffer(value: &v8::Value) -> bool {
value.is_array_buffer() || value.is_shared_array_buffer()
}
-#[op2(fast)]
-pub fn op_is_arguments_object(value: &v8::Value) -> bool {
- value.is_arguments_object()
-}
-
-#[op2(fast)]
-pub fn op_is_async_function(value: &v8::Value) -> bool {
- value.is_async_function()
-}
-
-#[op2(fast)]
-pub fn op_is_generator_function(value: &v8::Value) -> bool {
- value.is_generator_function()
-}
-
-#[op2(fast)]
-pub fn op_is_generator_object(value: &v8::Value) -> bool {
- value.is_generator_object()
-}
-
-#[op2(fast)]
-pub fn op_is_map_iterator(value: &v8::Value) -> bool {
- value.is_map_iterator()
-}
-
-#[op2(fast)]
-pub fn op_is_module_namespace_object(value: &v8::Value) -> bool {
- value.is_module_namespace_object()
-}
-
-#[op2(fast)]
-pub fn op_is_native_error(value: &v8::Value) -> bool {
- value.is_native_error()
-}
-
-#[op2(fast)]
-pub fn op_is_promise(value: &v8::Value) -> bool {
- value.is_promise()
-}
-
-#[op2(fast)]
-pub fn op_is_reg_exp(value: &v8::Value) -> bool {
- value.is_reg_exp()
-}
-
-#[op2(fast)]
-pub fn op_is_set_iterator(value: &v8::Value) -> bool {
- value.is_set_iterator()
-}
-
#[op2]
pub fn op_preview_entries<'s>(
scope: &mut v8::HandleScope<'s>,