| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I don't feel super comfortable landing this without any checking that the types are correct..
V(RegExpPrototypeExec, UnionType(NodeType::kJSArray, NodeType::kNull)) \Are you sure?
V(StringPrototypeLastIndexOf, NodeType::kNumber) \Same here, could be kSmi
V(StringPrototypeIndexOf, NodeType::kNumber) \kSmi if you want to be more precise
V(StringPrototypeCodePointAt, NodeType::kSmi) \No, this can also return Undefined.
V(StringPrototypeCharCodeAt, NodeType::kSmi) \Number I think
V(SymbolPrototypeToString, NodeType::kSymbol) \String
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
I don't feel super comfortable landing this without any checking that the types are correct..
V(RegExpPrototypeExec, UnionType(NodeType::kJSArray, NodeType::kNull)) \Are you sure?
V(StringPrototypeLastIndexOf, NodeType::kNumber) \Same here, could be kSmi
Done
kSmi if you want to be more precise
Done
No, this can also return Undefined.
Done
V(StringPrototypeCharCodeAt, NodeType::kSmi) \Victor GomesNumber I think
I guess it can be NaN right, thanks...
V(SymbolPrototypeToString, NodeType::kSymbol) \Victor GomesString
Oops...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Victor GomesI don't feel super comfortable landing this without any checking that the types are correct..
😊 It is inspired by https://source.chromium.org/chromium/chromium/src/+/main:v8/src/compiler/turbofan-typer.cc;drc=59748dc2385e4231d35fa3cac600e4f19d7c4ddb;l=1862
Turbofan has `--assert-types` that will help find bugs around this code. Maglev/Turbolev doesn't have this :/
V(RegExpPrototypeExec, UnionType(NodeType::kJSArray, NodeType::kNull)) \Victor GomesAre you sure?
Followed TF here:
https://source.chromium.org/chromium/chromium/src/+/main:v8/src/compiler/turbofan-typer.cc;drc=59748dc2385e4231d35fa3cac600e4f19d7c4ddb;l=2084
Would be nice to figure out if this can really be Null. If you don't have time to look deeper into it, then you can keep this Null add a TODO.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Victor GomesI don't feel super comfortable landing this without any checking that the types are correct..
Darius Mercadier😊 It is inspired by https://source.chromium.org/chromium/chromium/src/+/main:v8/src/compiler/turbofan-typer.cc;drc=59748dc2385e4231d35fa3cac600e4f19d7c4ddb;l=1862
Turbofan has `--assert-types` that will help find bugs around this code. Maglev/Turbolev doesn't have this :/
Let's add that! We should add more verification passes before the finishing line. Follow up...
V(RegExpPrototypeExec, UnionType(NodeType::kJSArray, NodeType::kNull)) \Victor GomesAre you sure?
Darius MercadierFollowed TF here:
https://source.chromium.org/chromium/chromium/src/+/main:v8/src/compiler/turbofan-typer.cc;drc=59748dc2385e4231d35fa3cac600e4f19d7c4ddb;l=2084
Would be nice to figure out if this can really be Null. If you don't have time to look deeper into it, then you can keep this Null add a TODO.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Victor GomesI don't feel super comfortable landing this without any checking that the types are correct..
Darius Mercadier😊 It is inspired by https://source.chromium.org/chromium/chromium/src/+/main:v8/src/compiler/turbofan-typer.cc;drc=59748dc2385e4231d35fa3cac600e4f19d7c4ddb;l=1862
Victor GomesTurbofan has `--assert-types` that will help find bugs around this code. Maglev/Turbolev doesn't have this :/
Let's add that! We should add more verification passes before the finishing line. Follow up...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[maglev] Return static type for builtins
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |