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

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

Issue 2406803002: [turbofan] Enforce native context specialization. (Closed)
Patch Set: Remove unused variables Created 4 years, 2 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/compiler/test-run-jscalls.cc ('k') | test/unittests/compiler/graph-unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-568765.js
diff --git a/test/mjsunit/regress/regress-568765.js b/test/mjsunit/regress/regress-568765.js
deleted file mode 100644
index 9efd8599a5622218818eb200be066b0b46198e9a..0000000000000000000000000000000000000000
--- a/test/mjsunit/regress/regress-568765.js
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright 2015 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: --allow-natives-syntax --expose-gc --gc-interval=216
-// Flags: --nonative-context-specialization
-
-function PrettyPrint() { return ""; }
-function fail() { }
-assertSame = function assertSame() { if (found === expected) { if (1 / found) return; } else if ((expected !== expected) && (found !== found)) { return; }; }; assertEquals = function assertEquals(expected, found, name_opt) { if ( expected) { fail(PrettyPrint()); } };
-assertTrue = function assertTrue() { assertEquals(); };
-assertThrows = function assertThrows(code, type_opt, cause_opt) { var threwException = true; try { if (typeof code == 'function') { code(); } else {; } threwException = false; } catch (e) { if (typeof type_opt == 'function') {; } if (arguments.length >= 3) {; } return; } };
-assertInstanceof = function assertInstanceof() { if (obj instanceof type) { var actualTypeName = null; var actualConstructor = Object.getPrototypeOf().constructor; if (typeof actualConstructor == "function") {; }; } };
-function modifyPropertyOrValue() { var names; try {; } catch(e) {; return; } if(!names) return; name = names[rand_value % names.length]; if (isNaN()); }
-function nop() {}
-var __v_5 = {};
-var __v_12 = {};
-var __v_13 = {};
-var __v_16 = {};
-function __f_0() {
-}
-(function (){
- function __f_6() {
- }
- a = __f_6();
- b = __f_6();
- name = "Array";
-})();
-(function (){
- function __f_1() {
- assertTrue();
- }
- __f_1();
-})();
-__v_10 = {
-}
-__v_11 = new Object();
-tailee1 = function() {
- "use strict";
- if (__v_12-- == 0) {
- }
- return nop();
-};
-%OptimizeFunctionOnNextCall(tailee1);
-assertEquals(__v_10, tailee1.call());
-__v_14 = 100000;
-gc();
-tailee2 = function() {
- "use strict";
- __v_14 = ((__v_14 | 0) - 1) | 0;
- if ((__v_14 | 0) === 0) {
- }
-};
-%OptimizeFunctionOnNextCall(tailee2);
-assertEquals(__v_11, tailee2.call());
-__v_13 = 999999;
-tailee3 = function() {
- "use strict";
- if (__v_13-- == 0) {
- }
-};
-%OptimizeFunctionOnNextCall(tailee3);
-assertEquals(__v_9, tailee3.call(__v_11, __v_9));
-tailee4 = function(px) {
- return nop(tailee4, this, px, undefined);
-};
-%OptimizeFunctionOnNextCall(tailee4);
-assertThrows(function() { tailee4.call(); });
-tailee5 = function() {
- return nop();
-};
-%OptimizeFunctionOnNextCall(tailee5);
-assertThrows(function() { tailee5.call(); });
-tailee6 = function() {
-}
-tailee7 = function( py, pz, pa, pb, pc) {
- return nop();
-};
-%OptimizeFunctionOnNextCall(tailee7);
- tailee7.call();
-
-(function() {
- Number.prototype[0] = "a";
- Number.prototype[1] = "b";
- Object.defineProperty(Number.prototype, 2, {
- get: function() {
- }
- });
- Number.prototype.length = 3;
-Array.prototype.includes.call(5);
-})();
-var __v_9 = -8;
-var __v_20 = 0;
« no previous file with comments | « test/cctest/compiler/test-run-jscalls.cc ('k') | test/unittests/compiler/graph-unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698