diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-07-22 19:06:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-22 19:06:32 +0530 |
commit | 4db650ddd57b85475d71c0b9fc84d37becab9d6a (patch) | |
tree | e32602ab92d4c117dbbd72ea9c7436964466187d /core/ops_builtin.rs | |
parent | 03dc3b8972f460e40d0b75fc3207cae9fe4f60da (diff) |
Revert "feat(ops): V8 Fast Calls (#15122)" (#15276)
This reverts commit 03dc3b8972f460e40d0b75fc3207cae9fe4f60da.
Diffstat (limited to 'core/ops_builtin.rs')
-rw-r--r-- | core/ops_builtin.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/core/ops_builtin.rs b/core/ops_builtin.rs index 2e911e415..a42c0bae8 100644 --- a/core/ops_builtin.rs +++ b/core/ops_builtin.rs @@ -31,7 +31,6 @@ pub(crate) fn init_builtins() -> Extension { op_wasm_streaming_set_url::decl(), op_void_sync::decl(), op_void_async::decl(), - op_add::decl(), // // TODO(@AaronO): track IO metrics for builtin streams op_read::decl(), op_write::decl(), @@ -55,12 +54,7 @@ pub fn op_resources(state: &mut OpState) -> Vec<(ResourceId, String)> { .collect() } -#[op(fast)] -fn op_add(a: i32, b: i32) -> i32 { - a + b -} - -#[op(fast)] +#[op] pub fn op_void_sync() {} #[op] |