Aliaksandr Kalenik
c170dd323e
LibJS: Make eval() prevent GetGlobal usage less aggressively
...
Before usage of GetGlobal was prevented whenever eval() is present in
the scope chain.
With this change GetGlobal is emitted for `g` in the following program:
```js
function screw_everything_up() {
eval("");
}
var g;
g;
```
It makes Octane/mandreel.js benchmark run 2x faster :)
2023-11-08 10:07:56 +01:00
..
2023-11-06 13:06:10 +01:00
2023-08-13 15:38:42 +02:00
2023-10-07 11:36:28 +02:00
2023-11-07 21:59:03 +01:00
2023-11-08 09:29:59 +01:00
2023-11-08 09:28:17 +01:00
2023-10-07 07:13:52 +02:00
2023-08-13 18:05:09 +02:00
2023-11-08 09:29:59 +01:00
2023-10-07 07:13:52 +02:00
2023-06-22 06:46:27 +02:00
2023-10-31 18:09:14 +01:00
2023-10-31 18:09:14 +01:00
2023-10-31 18:09:14 +01:00
2023-08-07 16:03:27 +02:00
2023-07-08 10:32:56 +01:00
2023-09-17 21:00:11 +02:00
2023-06-15 08:09:16 +02:00
2023-10-31 18:09:14 +01:00
2023-10-31 18:09:14 +01:00
2023-11-08 10:07:56 +01:00
2023-07-12 16:03:16 +02:00
2023-02-17 09:14:23 -05:00
2023-02-17 09:14:23 -05:00
2023-09-12 17:21:42 +02:00
2023-08-09 17:09:16 +02:00
2023-02-13 00:50:07 +00:00
2023-08-17 18:27:02 +02:00
2023-10-31 18:09:14 +01:00
2023-10-31 18:09:14 +01:00
2023-09-12 17:21:42 +02:00
2023-09-12 17:21:42 +02:00
2023-09-12 17:21:42 +02:00
2023-09-21 16:19:13 +02:00
2023-07-14 06:06:04 +02:00
2023-08-29 07:57:39 -04:00
2023-08-09 17:09:16 +02:00
2023-10-13 18:33:21 +03:30