Add fixtures for deopt due to arguments.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
function x (...rest) {
|
||||
arguments;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
function x() {
|
||||
for (var _len = arguments.length, rest = Array(_len), _key = 0; _key < _len; _key++) {
|
||||
rest[_key] = arguments[_key];
|
||||
}
|
||||
|
||||
arguments;
|
||||
}
|
||||
Reference in New Issue
Block a user