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

Unified Diff: src/v8globals.h

Issue 7736018: Make functions on the built-in object non-writable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
Index: src/v8globals.h
diff --git a/src/v8globals.h b/src/v8globals.h
index aff27579f8d78b6cd8337f9b8fba578237993c42..1fcd812b3ddd9e16f0a248373ab5eb91077f3614 100644
--- a/src/v8globals.h
+++ b/src/v8globals.h
@@ -482,8 +482,8 @@ enum CpuFeature { SSE4_1 = 32 + 19, // x86
// The Strict Mode (ECMA-262 5th edition, 4.2.2).
enum StrictModeFlag {
- kNonStrictMode,
- kStrictMode,
+ kNonStrictMode = 0,
Kevin Millikin (Chromium) 2011/09/01 07:58:24 I couldn't find a site where we relied on a specif
Lasse Reichstein 2011/09/01 09:26:58 Good catch. It's an artifact of a preliminary chan
+ kStrictMode = 1,
// This value is never used, but is needed to prevent GCC 4.5 from failing
// to compile when we assert that a flag is either kNonStrictMode or
// kStrictMode.
« src/runtime.cc ('K') | « src/runtime.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698