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

Unified Diff: test/mjsunit/ignition/throw-if-not-hole.js

Issue 2958253002: [turbofan] Replace uninitialized JSConstruct nodes with SOFT deopt. (Closed)
Patch Set: 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 | « src/deoptimize-reason.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/ignition/throw-if-not-hole.js
diff --git a/test/mjsunit/ignition/throw-if-not-hole.js b/test/mjsunit/ignition/throw-if-not-hole.js
index ce322563853d8cbea8fd8bfbaf2c9d949aed17b6..672e42ddf59528be696b45b28611e234aebe8ed9 100644
--- a/test/mjsunit/ignition/throw-if-not-hole.js
+++ b/test/mjsunit/ignition/throw-if-not-hole.js
@@ -18,6 +18,8 @@ class B extends A {
test = new B(0);
test = new B(0);
+assertThrowsEquals(() => {new B(1)}, ReferenceError());
+assertThrowsEquals(() => {new B(1)}, ReferenceError());
%OptimizeFunctionOnNextCall(B);
test = new B(0);
assertOptimized(B);
« no previous file with comments | « src/deoptimize-reason.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698