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

Unified Diff: src/v8.h

Issue 7918012: Unify the handling of comparinsons against null and undefined. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | « src/token.h ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.h
===================================================================
--- src/v8.h (revision 9305)
+++ src/v8.h (working copy)
@@ -124,6 +124,15 @@
static bool use_crankshaft_;
};
+
+// JavaScript defines two kinds of 'nil', for whatever reasons...
danno 2011/09/19 14:38:50 no personalized comment (no "for whatever reasons"
Sven Panne 2011/09/19 14:45:57 Done.
+enum NilValue { kNullValue, kUndefinedValue };
+
+
+// JavaScript defines two kinds of equality, again, for whatever reasons...
danno 2011/09/19 14:38:50 here, too.
Sven Panne 2011/09/19 14:45:57 Done.
+enum EqualityKind { kStrictEquality, kNonStrictEquality };
+
+
} } // namespace v8::internal
namespace i = v8::internal;
« no previous file with comments | « src/token.h ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698