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

Unified Diff: src/hydrogen.h

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: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index b9d53be94e210e6b5faabf1d2918d8324ef67cc2..4e6c32e1ef0e6cb0364b8dc793ffc6f13f8e1ca3 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2110,8 +2110,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
function_state()->ClearInlinedTestContext();
}
StrictModeFlag function_strict_mode_flag() {
- return function_state()->compilation_info()->is_classic_mode()
- ? kNonStrictMode : kStrictMode;
+ return function_state()->compilation_info()->is_sloppy_mode()
+ ? kSloppyMode : kStrictMode;
}
// Generators for inline runtime functions.

Powered by Google App Engine
This is Rietveld 408576698