1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/patches/borc+2.1.2.patch
Zbyszek Tenerowicz acb46c2cdb
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>
2022-07-29 16:24:12 -05:00

14 lines
394 B
Diff

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