mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-24 15:19:31 -05:00
fix & clean
This commit is contained in:
parent
f4a35fe7e5
commit
15c9a52781
2 changed files with 3 additions and 3 deletions
|
@ -2329,7 +2329,7 @@ void v8__Proxy__Revoke(const v8::Proxy& self) { ptr_to_local(&self)->Revoke(); }
|
|||
|
||||
void v8__SnapshotCreator__CONSTRUCT(uninit_t<v8::SnapshotCreator>* buf,
|
||||
const intptr_t* external_references,
|
||||
StartupData* existing_blob) {
|
||||
v8::StartupData* existing_blob) {
|
||||
construct_in_place<v8::SnapshotCreator>(buf, external_references, existing_blob);
|
||||
}
|
||||
|
||||
|
|
|
@ -103,8 +103,8 @@ impl SnapshotCreator {
|
|||
} else {
|
||||
std::ptr::null()
|
||||
};
|
||||
let existing_blob_ptr = if let Some(er) = existing_blob {
|
||||
&er
|
||||
let existing_blob_ptr = if let Some(startup_data) = existing_blob {
|
||||
&startup_data
|
||||
} else {
|
||||
std::ptr::null()
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue