File tree Expand file tree Collapse file tree 2 files changed +40
-44
lines changed Expand file tree Collapse file tree 2 files changed +40
-44
lines changed Original file line number Diff line number Diff line change @@ -2164,7 +2164,9 @@ Expression* TranslateToFuzzReader::_makeConcrete(Type type) {
2164
2164
}
2165
2165
options.add (FeatureSet::ReferenceTypes, &Self::makeRefIsNull);
2166
2166
options.add (FeatureSet::ReferenceTypes | FeatureSet::GC,
2167
- &Self::makeRefEq,
2167
+ // Prioritize ref.eq heavily as it is the one instruction that
2168
+ // tests reference identity.
2169
+ {&Self::makeRefEq, VeryImportant},
2168
2170
&Self::makeRefTest,
2169
2171
&Self::makeI31Get);
2170
2172
options.add (FeatureSet::ReferenceTypes | FeatureSet::GC |
Original file line number Diff line number Diff line change 1
1
Metrics
2
2
total
3
- [exports] : 10
4
- [funcs] : 14
3
+ [exports] : 18
4
+ [funcs] : 24
5
5
[globals] : 26
6
6
[imports] : 12
7
7
[memories] : 1
8
8
[memory-data] : 16
9
- [table-data] : 3
9
+ [table-data] : 15
10
10
[tables] : 2
11
11
[tags] : 2
12
- [total] : 642
13
- [vars] : 48
14
- ArrayNewFixed : 6
12
+ [total] : 882
13
+ [vars] : 54
14
+ ArrayNewFixed : 7
15
15
AtomicCmpxchg : 1
16
- AtomicFence : 2
17
- Binary : 40
18
- Block : 106
19
- Break : 8
20
- Call : 26
21
- CallRef : 1
22
- Const : 109
23
- DataDrop : 2
24
- Drop : 14
25
- GlobalGet : 57
26
- GlobalSet : 44
27
- If : 32
28
- Load : 6
29
- LocalGet : 20
30
- LocalSet : 16
31
- Loop : 8
32
- MemoryCopy : 1
33
- Nop : 11
34
- Pop : 1
35
- RefAs : 2
36
- RefCast : 2
16
+ Binary : 38
17
+ Block : 172
18
+ Break : 9
19
+ Call : 37
20
+ Const : 180
21
+ Drop : 72
22
+ GlobalGet : 72
23
+ GlobalSet : 60
24
+ If : 33
25
+ Load : 5
26
+ LocalGet : 8
27
+ LocalSet : 9
28
+ Loop : 6
29
+ Nop : 7
30
+ Pop : 2
31
+ RefAs : 1
37
32
RefEq : 4
38
- RefFunc : 5
33
+ RefFunc : 15
39
34
RefI31 : 8
40
- RefNull : 8
41
- RefTest : 1
42
- Return : 6
43
- SIMDExtract : 1
35
+ RefIsNull : 1
36
+ RefNull : 10
37
+ Return : 5
38
+ SIMDExtract : 4
44
39
Select : 1
45
- Store : 1
46
- StringConst : 8
47
- StringEncode : 1
40
+ StringConst : 6
41
+ StringEq : 1
48
42
StringMeasure : 1
49
- StructNew : 9
50
- Switch : 1
43
+ StringWTF16Get : 1
44
+ StructNew : 13
51
45
Throw : 1
52
- Try : 1
53
- TryTable : 4
54
- TupleExtract : 2
55
- TupleMake : 6
56
- Unary : 36
57
- Unreachable : 22
46
+ Try : 2
47
+ TryTable : 2
48
+ TupleExtract : 1
49
+ TupleMake : 13
50
+ Unary : 43
51
+ Unreachable : 31
You can’t perform that action at this time.
0 commit comments