v86 0.5.10 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/libv86-debug.js +3 -0
- package/build/libv86-debug.mjs +164 -164
- package/build/libv86.js +3 -3
- package/build/libv86.mjs +111 -110
- package/build/v86-debug.wasm +0 -0
- package/build/v86-fallback.wasm +0 -0
- package/build/v86.wasm +0 -0
- package/package.json +1 -1
package/build/libv86-debug.js
CHANGED
|
@@ -7485,6 +7485,7 @@ $VirtQueue$$.prototype.get_state = function() {
|
|
|
7485
7485
|
$state$jscomp$43$$[6] = this.avail_last_idx;
|
|
7486
7486
|
$state$jscomp$43$$[7] = this.used_addr;
|
|
7487
7487
|
$state$jscomp$43$$[8] = this.num_staged_replies;
|
|
7488
|
+
$state$jscomp$43$$[9] = 1;
|
|
7488
7489
|
return $state$jscomp$43$$;
|
|
7489
7490
|
};
|
|
7490
7491
|
$VirtQueue$$.prototype.set_state = function($state$jscomp$44$$) {
|
|
@@ -7498,6 +7499,7 @@ $VirtQueue$$.prototype.set_state = function($state$jscomp$44$$) {
|
|
|
7498
7499
|
this.used_addr = $state$jscomp$44$$[7];
|
|
7499
7500
|
this.num_staged_replies = $state$jscomp$44$$[8];
|
|
7500
7501
|
this.mask = this.size - 1;
|
|
7502
|
+
this.fix_wrapping = 1 !== $state$jscomp$44$$[9];
|
|
7501
7503
|
};
|
|
7502
7504
|
$VirtQueue$$.prototype.reset = function() {
|
|
7503
7505
|
this.enabled = !1;
|
|
@@ -7519,6 +7521,7 @@ $VirtQueue$$.prototype.set_size = function($size$jscomp$35$$) {
|
|
|
7519
7521
|
};
|
|
7520
7522
|
$VirtQueue$$.prototype.count_requests = function() {
|
|
7521
7523
|
$dbg_assert$$(this.avail_addr, "VirtQueue addresses must be configured before use");
|
|
7524
|
+
this.fix_wrapping && (this.fix_wrapping = !1, this.avail_last_idx = (this.avail_get_idx() & ~this.mask) + (this.avail_last_idx & this.mask));
|
|
7522
7525
|
return this.avail_get_idx() - this.avail_last_idx & 65535;
|
|
7523
7526
|
};
|
|
7524
7527
|
$VirtQueue$$.prototype.has_request = function() {
|