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

Unified Diff: test/mjsunit/lazy-inner-functions.js

Issue 2373443003: Revert of Preparse inner functions (new try) (Closed)
Patch Set: Created 4 years, 3 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/mjsunit/debug-scopes.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/lazy-inner-functions.js
diff --git a/test/mjsunit/lazy-inner-functions.js b/test/mjsunit/lazy-inner-functions.js
deleted file mode 100644
index 127d349b1b0ca357daa872f558e7ce5c3177eea0..0000000000000000000000000000000000000000
--- a/test/mjsunit/lazy-inner-functions.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// 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: --min-preparse-length 1
-
-(function TestLazyInnerFunctionCallsEval() {
- var i = (function eager_outer() {
- var a = 41; // Should be context-allocated
- function lazy_inner() {
- return eval("a");
- }
- return lazy_inner;
- })();
- assertEquals(41, i());
-})();
« no previous file with comments | « test/mjsunit/debug-scopes.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698