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

Unified Diff: test/mjsunit/call-intrinsic-type-error.js

Issue 1727833006: [runtime] Make target checking for %Call and %_Call consistent. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « src/runtime/runtime-function.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/call-intrinsic-type-error.js
diff --git a/test/mjsunit/regress/regress-crbug-582703.js b/test/mjsunit/call-intrinsic-type-error.js
similarity index 72%
copy from test/mjsunit/regress/regress-crbug-582703.js
copy to test/mjsunit/call-intrinsic-type-error.js
index 792266f54cd9d124b2d2675100d3d1e8b82c4dd3..9d586977d924829f664a34c915440b5c8498dd63 100644
--- a/test/mjsunit/regress/regress-crbug-582703.js
+++ b/test/mjsunit/call-intrinsic-type-error.js
@@ -4,5 +4,8 @@
// Flags: --allow-natives-syntax
-%FunctionGetScript({});
-%FunctionGetSourceCode({});
+try {
+ %Call(1, 0);
+} catch (e) {
+ assertTrue(e instanceof TypeError);
+}
« no previous file with comments | « src/runtime/runtime-function.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698