File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -729,13 +729,13 @@ IndexedHeapTypes getOptimizedIndexedHeapTypes(Module& wasm) {
729
729
730
730
// Experimentally determined to be pretty good for a variety of programs in
731
731
// different languages.
732
- constexpr float childFactor = 0.25 ;
732
+ constexpr double childFactor = 0.25 ;
733
733
734
734
// Each rec group's weight, adjusted for its size and incorporating the weight
735
735
// of its users.
736
- std::vector<float > weights (groups.size ());
736
+ std::vector<double > weights (groups.size ());
737
737
for (size_t i = 0 ; i < groups.size (); ++i) {
738
- weights[i] = ( float ) groupCounts[i] / groups[i].size ();
738
+ weights[i] = double ( groupCounts[i]) / groups[i].size ();
739
739
}
740
740
auto sorted = TopologicalSort::sort (deps);
741
741
for (auto it = sorted.rbegin (); it != sorted.rend (); ++it) {
You can’t perform that action at this time.
0 commit comments