Skip to content

Commit 1d2500c

Browse files
authored
Merge branch 'main' into ruff_check_--preview_--select=E303
2 parents 6918b4b + d19c162 commit 1d2500c

File tree

10 files changed

+249
-169
lines changed

10 files changed

+249
-169
lines changed

ChangeLog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ to browse the changes between the tags.
1818

1919
See docs/process.md for more on how version tagging works.
2020

21-
3.1.74 (in development)
21+
3.1.75 (in development)
2222
-----------------------
23+
24+
3.1.74 - 12/14/24
25+
-----------------
2326
- The file system was updated to independently track atime, mtime and ctime
2427
instead of using the same time for all three. (#22998)
2528
- Emscripten-generated code will now use async/await internally when loading

emscripten-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.74-git
1+
3.1.75-git

system/lib/jsmath.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,3 @@ CALL_JS_2_TRIPLE(pow)
4545
CALL_JS_1_IMPL_TRIPLE(round, {
4646
return x >= 0 ? Math.floor(x + 0.5) : Math.ceil(x - 0.5);
4747
})
48-
CALL_JS_1_IMPL_TRIPLE(rint, {
49-
function round(x) {
50-
return x >= 0 ? Math.floor(x + 0.5) : Math.ceil(x - 0.5);
51-
}
52-
return (x - Math.floor(x) != .5) ? round(x) : round(x / 2) * 2;
53-
})
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[
2+
{
3+
"name": "emcc$defun$arrowed",
4+
"reaches": [],
5+
"root": true
6+
},
7+
{
8+
"name": "emcc$defun$bar",
9+
"reaches": [],
10+
"root": true
11+
},
12+
{
13+
"name": "emcc$defun$caller",
14+
"reaches": [
15+
"emcc$defun$foo"
16+
],
17+
"root": true
18+
},
19+
{
20+
"name": "emcc$defun$foo",
21+
"reaches": []
22+
}
23+
]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
function foo() {}
2+
3+
function bar() {}
4+
5+
// caller() calls foo(). There is also another function called "caller", down
6+
// below, which should not confuse us (if it does, nothing would refer to foo,
7+
// and instead we'd think the toplevel caller calls bar).
8+
function caller() {
9+
foo();
10+
}
11+
12+
caller();
13+
14+
var object = {
15+
method() {
16+
function caller(data) {
17+
bar();
18+
}
19+
}
20+
};
21+
22+
// Similar, with an arrow function. This should also not confuse us (it would
23+
// make "caller" refer to "arrowed".
24+
25+
function arrowed() {}
26+
27+
var arrow = () => {
28+
function caller(data) {
29+
arrowed();
30+
}
31+
}
32+
33+
wasmImports = {};

test/test_other.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,6 +2896,7 @@ def test_extern_prepost(self):
28962896
'emitDCEGraph3': (['emitDCEGraph', '--no-print'],),
28972897
'emitDCEGraph4': (['emitDCEGraph', '--no-print'],),
28982898
'emitDCEGraph5': (['emitDCEGraph', '--no-print'],),
2899+
'emitDCEGraph-scopes': (['emitDCEGraph', '--no-print'],),
28992900
'minimal-runtime-applyDCEGraphRemovals': (['applyDCEGraphRemovals'],),
29002901
'applyDCEGraphRemovals': (['applyDCEGraphRemovals'],),
29012902
'applyImportAndExportNameChanges': (['applyImportAndExportNameChanges'],),

0 commit comments

Comments
 (0)