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

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

Issue 2248693005: [Parser] Track ContainsDot for SMI values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/cctest/interpreter/bytecode_expectations/UnaryOperators.golden ('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-638134.js
diff --git a/test/mjsunit/regress/regress-638134.js b/test/mjsunit/regress/regress-638134.js
new file mode 100644
index 0000000000000000000000000000000000000000..5391eed1488ff5f5469a20dcb18ba713b66944c8
--- /dev/null
+++ b/test/mjsunit/regress/regress-638134.js
@@ -0,0 +1,20 @@
+// 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.
+
+function foo() {
+ // Generates a forward branch that puts 200 in the constant pool.
+ var i = 0;
+ if (i) {
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ i = 0; i = 0; i = 0; i = 0; i = 0; i = 0;
+ }
+ // Emit a 200 literal which also ends up in the constant pool.
+ var j = 0.2e3;
+}
+foo();
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698