V4: Throw the interpreter's TypeError from JIT-compiled lookups
The interpreter throws a TypeError naming the property before it runs
the lookup on a null or undefined base. The runtime functions the JIT
calls ran the lookup right away. Depending on what the lookup had
cached, that produced a different TypeError. Check first, like the
interpreter does.
Pick-to: 6.12 6.8
Change-Id: I10ea9794538964bafa4eaa6de4d9a181c7c569d6
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
| commit | aa36a9616e1b0975b8dd2f01eeee3969ec3f8e33 |
| parent | f167aa0677405fd02daea8cde8acd83b99b63d44 |
| author | Ulf Hermann <ulf.hermann@qt.io> |
| committer | Ulf Hermann <ulf.hermann@qt.io> |
| commit time | Mon, 12 Oct 2026 12:28:17 +0000 |