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

Unified Diff: test/mjsunit/regress/regress-5213.js

Issue 2163963003: MIPS: Fix infinite loop in Math.pow(2,-2147483648) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits Created 4 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
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-5213.js
diff --git a/test/message/generators-throw1.js b/test/mjsunit/regress/regress-5213.js
similarity index 52%
copy from test/message/generators-throw1.js
copy to test/mjsunit/regress/regress-5213.js
index f544d33328508d36e9332295807a371c8c303599..831e1346d8236cb07fac28f0b5912034fdfe9068 100644
--- a/test/message/generators-throw1.js
+++ b/test/mjsunit/regress/regress-5213.js
@@ -1,9 +1,8 @@
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --ignition-generators
-function* f() { yield }
+// See http://code.google.com/p/v8/issues/detail?id=5213
-f().throw(42);
+assertEquals(0, Math.pow(2,-2147483648));
+assertEquals(0, Math.pow(2,-9223372036854775808));
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698