Skip to content

Commit b0942a4

Browse files
Two more places
1 parent a7deb3b commit b0942a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ir/js-utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ inline bool hasPossibleJSPrototypeField(HeapType type) {
4545

4646
// Calls flowIn and flowOut on all types that may flow in from or out to JS.
4747
template<typename In, typename Out>
48-
void iterJSInterface(Module& wasm, In flowIn, Out flowOut) {
48+
void iterJSInterface(const Module& wasm, In flowIn, Out flowOut) {
4949
// @binaryen.js.called functions are called from JS. Their parameters flow
5050
// in from JS and their results flow back out.
5151
for (auto f : Intrinsics(wasm).getJSCalledFunctions()) {

src/passes/Unsubtyping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ struct Unsubtyping : Pass, Noter<Unsubtyping> {
645645
}
646646
}
647647

648-
void analyzeJSInterface(Module& wasm) {
648+
void analyzeJSInterface(const Module& wasm) {
649649
if (!wasm.features.hasCustomDescriptors()) {
650650
return;
651651
}

0 commit comments

Comments
 (0)