Skip to content

Commit

Permalink
feat: Upgrade V8 to 12.9 (#25138)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Aug 21, 2024
1 parent 48da3c1 commit 777e7ea
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ repository = "https://github.com/denoland/deno"

[workspace.dependencies]
deno_ast = { version = "=0.41.2", features = ["transpiling"] }
deno_core = { version = "0.305.0" }
deno_core = { version = "0.306.0" }

deno_bench_util = { version = "0.158.0", path = "./bench_util" }
deno_lockfile = "0.21.2"
Expand Down
2 changes: 1 addition & 1 deletion ext/ffi/callback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ where
Ok(array_value)
}

#[op2]
#[op2(fast)]
pub fn op_ffi_unsafe_callback_close(
state: &mut OpState,
scope: &mut v8::HandleScope,
Expand Down
2 changes: 1 addition & 1 deletion ext/http/http_next.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ pub fn op_http_set_response_header(
response_parts.headers.append(name, value);
}

#[op2]
#[op2(fast)]
pub fn op_http_set_response_headers(
scope: &mut v8::HandleScope,
external: *const c_void,
Expand Down
2 changes: 1 addition & 1 deletion ext/node/ops/v8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub fn op_v8_cached_data_version_tag() -> u32 {
v8::script_compiler::cached_data_version_tag()
}

#[op2]
#[op2(fast)]
pub fn op_v8_get_heap_statistics(
scope: &mut v8::HandleScope,
#[buffer] buffer: &mut [f64],
Expand Down
4 changes: 2 additions & 2 deletions ext/node/ops/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ pub fn op_vm_script_run_in_context<'a>(
)
}

#[op2]
#[op2(fast)]
pub fn op_vm_create_context(
scope: &mut v8::HandleScope,
sandbox_obj: v8::Local<v8::Object>,
Expand All @@ -1101,7 +1101,7 @@ pub fn op_vm_create_context(
);
}

#[op2]
#[op2(fast)]
pub fn op_vm_is_context(
scope: &mut v8::HandleScope,
sandbox_obj: v8::Local<v8::Value>,
Expand Down

0 comments on commit 777e7ea

Please sign in to comment.