Skip to content

Commit

Permalink
deps: update boa (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
eng-cc authored Sep 11, 2023
1 parent 5b479ec commit a23b085
Show file tree
Hide file tree
Showing 9 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN su node -c "npx playwright install"
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH \
RUST_VERSION=1.67.0
RUST_VERSION=1.72.0

RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
Expand Down
56 changes: 28 additions & 28 deletions packages/skvm/pkg/node/skvm_bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_28(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5451c65af4a43c91(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd1b5b1c82a01ddc8(arg0, arg1, addHeapObject(arg2));
}

/**
Expand Down Expand Up @@ -274,11 +274,11 @@ export function __wbgtest_console_error(args) {
}

function __wbg_adapter_80(arg0, arg1, arg2, arg3, arg4) {
wasm.wasm_bindgen__convert__closures__invoke3_mut__h2315033f19a55d71(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
wasm.wasm_bindgen__convert__closures__invoke3_mut__h0566f534820b3b92(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
}

function __wbg_adapter_101(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3541220db1e62064(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm.wasm_bindgen__convert__closures__invoke2_mut__h68f2d2b5c2fad2fe(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

/**
Expand Down Expand Up @@ -371,14 +371,6 @@ export function __wbindgen_string_new(arg0, arg1) {
return addHeapObject(ret);
};

export function __wbg_randomFillSync_e950366c42764a07() { return handleError(function (arg0, arg1) {
getObject(arg0).randomFillSync(takeObject(arg1));
}, arguments) };

export function __wbg_getRandomValues_3774744e221a22ad() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };

export function __wbg_crypto_70a96de3b6b73dac(arg0) {
const ret = getObject(arg0).crypto;
return addHeapObject(ret);
Expand Down Expand Up @@ -420,6 +412,14 @@ export function __wbg_msCrypto_adbc770ec9eca9c7(arg0) {
return addHeapObject(ret);
};

export function __wbg_randomFillSync_e950366c42764a07() { return handleError(function (arg0, arg1) {
getObject(arg0).randomFillSync(takeObject(arg1));
}, arguments) };

export function __wbg_getRandomValues_3774744e221a22ad() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };

export function __wbg_log_06ce2db1f244c264(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
Expand All @@ -437,6 +437,21 @@ export function __wbindgen_number_new(arg0) {
return addHeapObject(ret);
};

export function __wbg_static_accessor_document_c0babe68ba1eebc2() {
const ret = document;
return addHeapObject(ret);
};

export function __wbg_self_ec4002dd45e47d74(arg0) {
const ret = getObject(arg0).self;
return addHeapObject(ret);
};

export function __wbindgen_jsval_eq(arg0, arg1) {
const ret = getObject(arg0) === getObject(arg1);
return ret;
};

export function __wbg_getElementById_21c1ba70eb74a26a(arg0, arg1, arg2) {
const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
return addHeapObject(ret);
Expand Down Expand Up @@ -464,21 +479,6 @@ export function __wbg_stack_e72a6800a9172afa(arg0) {
return addHeapObject(ret);
};

export function __wbg_static_accessor_document_c0babe68ba1eebc2() {
const ret = document;
return addHeapObject(ret);
};

export function __wbg_self_ec4002dd45e47d74(arg0) {
const ret = getObject(arg0).self;
return addHeapObject(ret);
};

export function __wbindgen_jsval_eq(arg0, arg1) {
const ret = getObject(arg0) === getObject(arg1);
return ret;
};

export function __wbg_stack_67cc9e651682cbe5(arg0, arg1) {
const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
Expand Down Expand Up @@ -692,8 +692,8 @@ export function __wbindgen_memory() {
return addHeapObject(ret);
};

export function __wbindgen_closure_wrapper5105(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1333, __wbg_adapter_28);
export function __wbindgen_closure_wrapper5032(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1280, __wbg_adapter_28);
return addHeapObject(ret);
};

Binary file modified packages/skvm/pkg/node/skvm_bg.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/skvm/pkg/node/skvm_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export function __wbgtest_console_error(a: number): void;
export function __wbindgen_malloc(a: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5451c65af4a43c91(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd1b5b1c82a01ddc8(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_exn_store(a: number): void;
export function __wbindgen_free(a: number, b: number): void;
export function wasm_bindgen__convert__closures__invoke3_mut__h2315033f19a55d71(a: number, b: number, c: number, d: number, e: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h3541220db1e62064(a: number, b: number, c: number, d: number): void;
export function wasm_bindgen__convert__closures__invoke3_mut__h0566f534820b3b92(a: number, b: number, c: number, d: number, e: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h68f2d2b5c2fad2fe(a: number, b: number, c: number, d: number): void;
6 changes: 3 additions & 3 deletions packages/skvm/pkg/web/skvm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5451c65af4a43c91: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd1b5b1c82a01ddc8: (a: number, b: number, c: number) => void;
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_free: (a: number, b: number) => void;
readonly wasm_bindgen__convert__closures__invoke3_mut__h2315033f19a55d71: (a: number, b: number, c: number, d: number, e: number) => void;
readonly wasm_bindgen__convert__closures__invoke2_mut__h3541220db1e62064: (a: number, b: number, c: number, d: number) => void;
readonly wasm_bindgen__convert__closures__invoke3_mut__h0566f534820b3b92: (a: number, b: number, c: number, d: number, e: number) => void;
readonly wasm_bindgen__convert__closures__invoke2_mut__h68f2d2b5c2fad2fe: (a: number, b: number, c: number, d: number) => void;
}

export type SyncInitInput = BufferSource | WebAssembly.Module;
Expand Down
46 changes: 23 additions & 23 deletions packages/skvm/pkg/web/skvm.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
return real;
}
function __wbg_adapter_28(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5451c65af4a43c91(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd1b5b1c82a01ddc8(arg0, arg1, addHeapObject(arg2));
}

/**
Expand Down Expand Up @@ -266,11 +266,11 @@ export function __wbgtest_console_error(args) {
}

function __wbg_adapter_80(arg0, arg1, arg2, arg3, arg4) {
wasm.wasm_bindgen__convert__closures__invoke3_mut__h2315033f19a55d71(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
wasm.wasm_bindgen__convert__closures__invoke3_mut__h0566f534820b3b92(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
}

function __wbg_adapter_101(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3541220db1e62064(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm.wasm_bindgen__convert__closures__invoke2_mut__h68f2d2b5c2fad2fe(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

/**
Expand Down Expand Up @@ -394,12 +394,6 @@ function __wbg_get_imports() {
const ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
imports.wbg.__wbg_randomFillSync_e950366c42764a07 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).randomFillSync(takeObject(arg1));
}, arguments) };
imports.wbg.__wbg_getRandomValues_3774744e221a22ad = function() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_crypto_70a96de3b6b73dac = function(arg0) {
const ret = getObject(arg0).crypto;
return addHeapObject(ret);
Expand Down Expand Up @@ -433,6 +427,12 @@ function __wbg_get_imports() {
const ret = getObject(arg0).msCrypto;
return addHeapObject(ret);
};
imports.wbg.__wbg_randomFillSync_e950366c42764a07 = function() { return handleError(function (arg0, arg1) {
getObject(arg0).randomFillSync(takeObject(arg1));
}, arguments) };
imports.wbg.__wbg_getRandomValues_3774744e221a22ad = function() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };
imports.wbg.__wbg_log_06ce2db1f244c264 = function(arg0, arg1) {
console.log(getStringFromWasm0(arg0, arg1));
};
Expand All @@ -447,6 +447,18 @@ function __wbg_get_imports() {
const ret = arg0;
return addHeapObject(ret);
};
imports.wbg.__wbg_static_accessor_document_c0babe68ba1eebc2 = function() {
const ret = document;
return addHeapObject(ret);
};
imports.wbg.__wbg_self_ec4002dd45e47d74 = function(arg0) {
const ret = getObject(arg0).self;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
const ret = getObject(arg0) === getObject(arg1);
return ret;
};
imports.wbg.__wbg_getElementById_21c1ba70eb74a26a = function(arg0, arg1, arg2) {
const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
return addHeapObject(ret);
Expand All @@ -469,18 +481,6 @@ function __wbg_get_imports() {
const ret = getObject(arg0).stack;
return addHeapObject(ret);
};
imports.wbg.__wbg_static_accessor_document_c0babe68ba1eebc2 = function() {
const ret = document;
return addHeapObject(ret);
};
imports.wbg.__wbg_self_ec4002dd45e47d74 = function(arg0) {
const ret = getObject(arg0).self;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
const ret = getObject(arg0) === getObject(arg1);
return ret;
};
imports.wbg.__wbg_stack_67cc9e651682cbe5 = function(arg0, arg1) {
const ret = getObject(arg1).stack;
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
Expand Down Expand Up @@ -660,8 +660,8 @@ function __wbg_get_imports() {
const ret = wasm.memory;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_closure_wrapper5105 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1333, __wbg_adapter_28);
imports.wbg.__wbindgen_closure_wrapper5032 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 1280, __wbg_adapter_28);
return addHeapObject(ret);
};

Expand Down
Binary file modified packages/skvm/pkg/web/skvm_bg.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/skvm/pkg/web/skvm_bg.wasm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export function __wbgtest_console_error(a: number): void;
export function __wbindgen_malloc(a: number): number;
export function __wbindgen_realloc(a: number, b: number, c: number): number;
export const __wbindgen_export_2: WebAssembly.Table;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5451c65af4a43c91(a: number, b: number, c: number): void;
export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd1b5b1c82a01ddc8(a: number, b: number, c: number): void;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_exn_store(a: number): void;
export function __wbindgen_free(a: number, b: number): void;
export function wasm_bindgen__convert__closures__invoke3_mut__h2315033f19a55d71(a: number, b: number, c: number, d: number, e: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h3541220db1e62064(a: number, b: number, c: number, d: number): void;
export function wasm_bindgen__convert__closures__invoke3_mut__h0566f534820b3b92(a: number, b: number, c: number, d: number, e: number): void;
export function wasm_bindgen__convert__closures__invoke2_mut__h68f2d2b5c2fad2fe(a: number, b: number, c: number, d: number): void;
2 changes: 1 addition & 1 deletion packages/skvm/skboa
Submodule skboa updated 60 files
+2 −2 .github/workflows/master.yml
+1 −1 .github/workflows/pull_request.yml
+2 −2 .github/workflows/release.yml
+3 −3 .github/workflows/rust.yml
+1 −1 .github/workflows/security_audit.yml
+2 −2 .github/workflows/test262.yml
+2 −2 .github/workflows/webassembly.yml
+1 −1 ABOUT.md
+58 −61 Cargo.lock
+1 −0 Cargo.toml
+2 −2 boa_ast/Cargo.toml
+2 −2 boa_ast/src/declaration/variable.rs
+4 −4 boa_ast/src/expression/call.rs
+3 −3 boa_ast/src/expression/literal/object.rs
+3 −3 boa_ast/src/expression/literal/template.rs
+2 −2 boa_ast/src/expression/optional.rs
+4 −4 boa_ast/src/expression/tagged_template.rs
+3 −3 boa_ast/src/function/class.rs
+4 −2 boa_ast/src/function/parameters.rs
+4 −4 boa_ast/src/pattern.rs
+5 −1 boa_ast/src/position.rs
+3 −3 boa_ast/src/statement/switch.rs
+3 −3 boa_ast/src/statement_list.rs
+2 −2 boa_cli/Cargo.toml
+6 −6 boa_engine/Cargo.toml
+2 −2 boa_engine/src/builtins/json/mod.rs
+1 −1 boa_engine/src/builtins/map/ordered_map.rs
+2 −2 boa_engine/src/builtins/regexp/tests.rs
+1 −1 boa_engine/src/builtins/set/ordered_set.rs
+1 −1 boa_engine/src/builtins/string/mod.rs
+6 −6 boa_engine/src/builtins/string/tests.rs
+2 −2 boa_engine/src/bytecompiler/mod.rs
+4 −0 boa_engine/src/lib.rs
+1 −1 boa_engine/src/object/property_map.rs
+1 −0 boa_engine/src/symbol.rs
+1 −1 boa_engine/src/tagged.rs
+3 −2 boa_engine/src/vm/call_frame/mod.rs
+294 −346 boa_engine/src/vm/code_block.rs
+281 −370 boa_engine/src/vm/flowgraph/mod.rs
+5 −2 boa_engine/src/vm/mod.rs
+1 −1 boa_engine/src/vm/opcode/control_flow/jump.rs
+1,948 −1,644 boa_engine/src/vm/opcode/mod.rs
+2 −2 boa_gc/src/cell.rs
+1 −1 boa_gc/src/internals/gc_box.rs
+6 −5 boa_gc/src/trace.rs
+1 −1 boa_interner/Cargo.toml
+1 −1 boa_interner/src/interned_str.rs
+5 −0 boa_interner/src/lib.rs
+1 −1 boa_macros/Cargo.toml
+2 −2 boa_parser/Cargo.toml
+1 −1 boa_parser/src/lexer/cursor.rs
+17 −17 boa_parser/src/lexer/tests.rs
+2 −2 boa_parser/src/parser/tests/format/expression.rs
+4 −0 boa_profiler/src/lib.rs
+3 −3 boa_tester/Cargo.toml
+1 −1 boa_tester/src/exec/mod.rs
+1 −1 boa_tester/src/read.rs
+4 −4 package-lock.json
+1 −1 package.json
+1 −1 test262

0 comments on commit a23b085

Please sign in to comment.