Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: test/mjsunit/messages.js

Issue 2950773002: [turbofan] Introduce new JSCallWithArrayLike operator. (Closed)
Patch Set: REBASE Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/compiler/reflect-apply.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/messages.js
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
index ff91185a7270a6025302e8f8e44f912a262b74f5..3281fc897d68d1f21280814e16d471c655c7bf0d 100644
--- a/test/mjsunit/messages.js
+++ b/test/mjsunit/messages.js
@@ -28,7 +28,7 @@ test(function() {
// kApplyNonFunction
test(function() {
- Function.prototype.apply.call(1, []);
+ Reflect.apply(1, []);
}, "Function.prototype.apply was called on 1, which is a number " +
"and not a function", TypeError);
« no previous file with comments | « test/mjsunit/compiler/reflect-apply.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698