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
Zbyszek Tenerowicz 2 years ago committed by GitHub
parent 31fa55123a
commit acb46c2cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      patches/borc+2.1.2.patch

@ -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…
Cancel
Save