mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
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>
This commit is contained in:
parent
31fa55123a
commit
acb46c2cdb
13
patches/borc+2.1.2.patch
Normal file
13
patches/borc+2.1.2.patch
Normal file
@ -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
Block a user