fix, trust
This commit is contained in:
parent
0ed1703672
commit
ebb3bc19b8
|
|
@ -169,7 +169,8 @@ public:
|
||||||
|
|
||||||
template <typename Type>
|
template <typename Type>
|
||||||
IR::Value ReadVariable(Type variable, IR::Block* root_block) {
|
IR::Value ReadVariable(Type variable, IR::Block* root_block) {
|
||||||
boost::container::small_vector<ReadState<Type>, 64> stack{
|
// TODO: Windows commits sodoku if you use small_vector
|
||||||
|
std::vector<ReadState<Type>> stack{
|
||||||
ReadState<Type>(nullptr),
|
ReadState<Type>(nullptr),
|
||||||
ReadState<Type>(root_block),
|
ReadState<Type>(root_block),
|
||||||
};
|
};
|
||||||
|
|
@ -299,7 +300,8 @@ private:
|
||||||
return same;
|
return same;
|
||||||
}
|
}
|
||||||
|
|
||||||
ankerl::unordered_dense::map<IR::Block*, std::map<Variant, IR::Inst*>> incomplete_phis;
|
// TODO: Windows dies with stack exhaustion?
|
||||||
|
std::unordered_map<IR::Block*, std::map<Variant, IR::Inst*>> incomplete_phis;
|
||||||
DefTable current_def;
|
DefTable current_def;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue