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

Unified Diff: test/cctest/test-api.cc

Issue 60085: Rewrote equality check in CompareStub to do quick pointer comparison first. (Closed)
Patch Set: Created 11 years, 9 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
« src/codegen-ia32.cc ('K') | « src/codegen-ia32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index cf5c5a5a7d6e34bbb65fd39a3556aa33ebe6d054..bb1804b65d577fd9f0b6771254d6c1a370731f03 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -2387,7 +2387,7 @@ THREADED_TEST(UndetectableObject) {
ExpectBoolean("undetectable==undetectable", true);
ExpectBoolean("undetectable===null", false);
- ExpectBoolean("undetectable===undefined", true);
+ ExpectBoolean("undetectable===undefined", false);
ExpectBoolean("undetectable===undetectable", true);
}
@@ -2422,7 +2422,7 @@ THREADED_TEST(UndetectableString) {
ExpectBoolean("undetectable==undetectable", true);
ExpectBoolean("undetectable===null", false);
- ExpectBoolean("undetectable===undefined", true);
+ ExpectBoolean("undetectable===undefined", false);
ExpectBoolean("undetectable===undetectable", true);
}
« src/codegen-ia32.cc ('K') | « src/codegen-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698