<NME> externs.js
<BEF> "use strict";

var performance = {};



var global = {};
var require = function(module) {};
var process = { hrtime: function() {} };
var __dirname = "";

var exports = {};
var define = {};
var module = {};

/**
 * @param {string} name
 * @param {function()} processor
 */
var registerProcessor = function(name, processor) {};

/** @const */
var currentTime = 0;

/** @const */
var sampleRate = 0;


var WebAssembly = {
    Memory() {},
    Table() {},
    instantiate() { return { instance: null, module: null }; },
    compile() {},
    Instance() {},
    Module() {},
};
WebAssembly.Module.customSections = function(module, section) {};

var WabtModule = {
    readWasm: function(buf, opt) {},
    generateNames: function() {},
    applyNames: function() {},
    toText: function() {},
};
var cs = {
    Capstone: function() {},
    ARCH_X86: 0,
    MODE_16: 0,
    MODE_32: 0,
    disasm: { bytes: "", mnemonic: "", op_str: "", },
};

const Buffer = {
    allocUnsafe : function(length) {},
    from : function(arrayBuffer, byteOffset, length) {},
};

<MSG> Clean up externs

<DFF> @@ -1,17 +1,7 @@
 "use strict";
 
-var performance = {};
-
-
-
 var global = {};
-var require = function(module) {};
 var process = { hrtime: function() {} };
-var __dirname = "";
-
-var exports = {};
-var define = {};
-var module = {};
 
 /**
  * @param {string} name
@@ -19,23 +9,9 @@ var module = {};
  */
 var registerProcessor = function(name, processor) {};
 
-/** @const */
-var currentTime = 0;
-
 /** @const */
 var sampleRate = 0;
 
-
-var WebAssembly = {
-    Memory() {},
-    Table() {},
-    instantiate() { return { instance: null, module: null }; },
-    compile() {},
-    Instance() {},
-    Module() {},
-};
-WebAssembly.Module.customSections = function(module, section) {};
-
 var WabtModule = {
     readWasm: function(buf, opt) {},
     generateNames: function() {},
@@ -52,5 +28,4 @@ var cs = {
 
 const Buffer = {
     allocUnsafe : function(length) {},
-    from : function(arrayBuffer, byteOffset, length) {},
 };

{'commit': 'diff --git a/src/externs.js b/src/externs.js\nindex d5845bd6..057dfd05 100644\n--- a/src/externs.js\n+++ b/src/externs.js\n@@ -1,17 +1,7 @@\n "use strict";\n \n-var performance = {};\n-\n-\n-\n var global = {};\n-var require = function(module) {};\n var process = { hrtime: function() {} };\n-var __dirname = "";\n-\n-var exports = {};\n-var define = {};\n-var module = {};\n \n /**\n  * @param {string} name\n@@ -19,23 +9,9 @@ var module = {};\n  */\n var registerProcessor = function(name, processor) {};\n \n-/** @const */\n-var currentTime = 0;\n-\n /** @const */\n var sampleRate = 0;\n \n-\n-var WebAssembly = {\n-    Memory() {},\n-    Table() {},\n-    instantiate() { return { instance: null, module: null }; },\n-    compile() {},\n-    Instance() {},\n-    Module() {},\n-};\n-WebAssembly.Module.customSections = function(module, section) {};\n-\n var WabtModule = {\n     readWasm: function(buf, opt) {},\n     generateNames: function() {},\n@@ -52,5 +28,4 @@ var cs = {\n \n const Buffer = {\n     allocUnsafe : function(length) {},\n-    from : function(arrayBuffer, byteOffset, length) {},\n };\n', 'commit_subject': 'Clean up externs', 'repo_name': 'copy/v86', 'committer': {'name': 'Fabian', 'email': 'f84e2e2dadd87384fb55f25886926b777e8378f1@copy.sh', 'time_sec': '1643590959', 'tz_offset': '-360', 'date': {'seconds': '1643590959'}}, 'commit_tree': '6f0fded30ae7b36b567c7cabda07ab1393a4c9e7', 'commit_message': 'Clean up externs\n', 'language_name': 'Rust', 'license': 'bsd-2-clause', 'hunks': '@@ -1,17 +1,7 @@\n "use strict";\n \n-var performance = {};\n-\n-\n-\n var global = {};\n-var require = function(module) {};\n var process = { hrtime: function() {} };\n-var __dirname = "";\n-\n-var exports = {};\n-var define = {};\n-var module = {};\n \n /**\n  * @param {string} name\n@@ -19,23 +9,9 @@ var module = {};\n  */\n var registerProcessor = function(name, processor) {};\n \n-/** @const */\n-var currentTime = 0;\n-\n /** @const */\n var sampleRate = 0;\n \n-\n-var WebAssembly = {\n-    Memory() {},\n-    Table() {},\n-    instantiate() { return { instance: null, module: null }; },\n-    compile() {},\n-    Instance() {},\n-    Module() {},\n-};\n-WebAssembly.Module.customSections = function(module, section) {};\n-\n var WabtModule = {\n     readWasm: function(buf, opt) {},\n     generateNames: function() {},\n@@ -52,5 +28,4 @@ var cs = {\n \n const Buffer = {\n     allocUnsafe : function(length) {},\n-    from : function(arrayBuffer, byteOffset, length) {},\n };\n', 'addition_count': 0, 'deletion_count': 25, 'src_file': 'a/src/externs.js', 'tgt_file': 'b/src/externs.js', 'file_extension': '.js', 'before_file': '"use strict";\n\nvar performance = {};\n\n\n\nvar global = {};\nvar require = function(module) {};\nvar process = { hrtime: function() {} };\nvar __dirname = "";\n\nvar exports = {};\nvar define = {};\nvar module = {};\n\n/**\n * @param {string} name\n * @param {function()} processor\n */\nvar registerProcessor = function(name, processor) {};\n\n/** @const */\nvar currentTime = 0;\n\n/** @const */\nvar sampleRate = 0;\n\n\nvar WebAssembly = {\n    Memory() {},\n    Table() {},\n    instantiate() { return { instance: null, module: null }; },\n    compile() {},\n    Instance() {},\n    Module() {},\n};\nWebAssembly.Module.customSections = function(module, section) {};\n\nvar WabtModule = {\n    readWasm: function(buf, opt) {},\n    generateNames: function() {},\n    applyNames: function() {},\n    toText: function() {},\n};\nvar cs = {\n    Capstone: function() {},\n    ARCH_X86: 0,\n    MODE_16: 0,\n    MODE_32: 0,\n    disasm: { bytes: "", mnemonic: "", op_str: "", },\n};\n\nconst Buffer = {\n    allocUnsafe : function(length) {},\n    from : function(arrayBuffer, byteOffset, length) {},\n};\n', 'message': 'Clean up externs\n', 'author_name': 'Fabian', 'lang': 'js'}