File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ var TOTAL_MEMORY = 16777216;
120
120
// allocate very many small objects, you should use emmalloc since it's
121
121
// smaller. Otherwise, if you do allocate many small objects, dlmalloc
122
122
// is usually worth the extra size.
123
- var MALLOC = "emmalloc " ;
123
+ var MALLOC = "dlmalloc " ;
124
124
125
125
// If 1, then when malloc would fail we abort(). This is nonstandard behavior,
126
126
// but makes sense for the web since we have a fixed amount of memory that
Original file line number Diff line number Diff line change @@ -1133,11 +1133,6 @@ def test_setjmp_noleak(self):
1133
1133
printf("ok.\n");
1134
1134
}
1135
1135
'''
1136
- # This test uses mallinfo() to track memory leaks in a way
1137
- # that is not applicable to emmalloc, so ensure that the
1138
- # test is using dlmalloc.
1139
- self .set_setting ('MALLOC' , 'dlmalloc' )
1140
-
1141
1136
self .do_run (src , r'''ok.''' )
1142
1137
1143
1138
def test_exceptions (self ):
You can’t perform that action at this time.
0 commit comments