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

Unified Diff: test/mjsunit/call-runtime-tail.js

Issue 1259203002: [turbofan] Implement tail calls with differing stack parameter counts (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bugs in frameless tail calls Created 5 years, 5 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
Index: test/mjsunit/call-runtime-tail.js
diff --git a/test/mjsunit/call-runtime-tail.js b/test/mjsunit/call-runtime-tail.js
index 6ad107dcb2f74886593765832cebaa0ca0ea3143..0d4dab0e8555dee98ace6bd62e0c9cc2141231b7 100644
--- a/test/mjsunit/call-runtime-tail.js
+++ b/test/mjsunit/call-runtime-tail.js
@@ -50,7 +50,7 @@ tailee3 = function(px) {
};
%OptimizeFunctionOnNextCall(tailee3);
-assertThrows(function() { tailee3.call(p1, p2); });
+assertEquals(p1, tailee3.call(p1, p2));
// Ensure too many parameters defeats the tail call optimization (currently
// unsupported).

Powered by Google App Engine
This is Rietveld 408576698