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

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

Issue 177683002: Mode clean-up pt 1: rename classic/non-strict mode to sloppy mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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
Index: test/mjsunit/regress/regress-2273.js
diff --git a/test/mjsunit/regress/regress-2273.js b/test/mjsunit/regress/regress-2273.js
index 7868b8da25f0839ca5abdff28ac11b7858a05b05..76b5ab6aa6bcdfea2a87d1349e49202bc7fb1115 100644
--- a/test/mjsunit/regress/regress-2273.js
+++ b/test/mjsunit/regress/regress-2273.js
@@ -79,7 +79,7 @@ function strict_mode() {
};
strict_mode();
-function classic_mode() {
+function sloppy_mode() {
CheckStringReceiver.call("foo");
CheckNumberReceiver.call(42);
CheckUndefinedReceiver.call(undefined);
@@ -100,4 +100,4 @@ function classic_mode() {
[4].some(CheckCoersion, 42);
[5].map(CheckCoersion, 42);
};
-classic_mode();
+sloppy_mode();

Powered by Google App Engine
This is Rietveld 408576698