Skip to content

Commit

Permalink
Bug 1874363 - [devtools] Remove build-debugger wasmparser mappings. r…
Browse files Browse the repository at this point in the history
…=devtools-reviewers,ochameau.

Differential Revision: https://phabricator.services.mozilla.com/D198417
  • Loading branch information
nchevobbe committed Jan 16, 2024
1 parent 3d291de commit da8fc1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions devtools/client/debugger/src/utils/wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

/* */

import { BinaryReader } from "wasmparser/dist/cjs/WasmParser";
import { BinaryReader } from "devtools/client/shared/vendor/WasmParser";
import {
WasmDisassembler,
NameSectionReader,
} from "wasmparser/dist/cjs/WasmDis";
} from "devtools/client/shared/vendor/WasmDis";

var wasmStates = Object.create(null);

Expand Down
2 changes: 0 additions & 2 deletions devtools/client/shared/build/build-debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const mappings = {
react: "devtools/client/shared/vendor/react",
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
"prop-types": "devtools/client/shared/vendor/react-prop-types",
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",
};

const mappingValues = Object.values(mappings);
Expand Down

0 comments on commit da8fc1a

Please sign in to comment.