fix: patch borc to avoid v8 bailing out of caching bytecode for the entire bundle chunk (#15385)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>feature/default_network_editable
parent
31fa55123a
commit
acb46c2cdb
@ -0,0 +1,13 @@ |
|||||||
|
diff --git a/node_modules/borc/src/decoder.asm.js b/node_modules/borc/src/decoder.asm.js
|
||||||
|
index d77a3c2..dc70f6b 100644
|
||||||
|
--- a/node_modules/borc/src/decoder.asm.js
|
||||||
|
+++ b/node_modules/borc/src/decoder.asm.js
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
module.exports = function decodeAsm (stdlib, foreign, buffer) {
|
||||||
|
- 'use asm'
|
||||||
|
+ // 'use asm' //causes v8 to not cache bytecode
|
||||||
|
|
||||||
|
// -- Imports
|
||||||
|
|
Loading…
Reference in new issue