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

Unified Diff: src/code-factory.h

Issue 1417503008: [turbofan] Use CompareNilIC for abstract equality with null/undefined. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/code-factory.cc » ('j') | src/compiler/js-typed-lowering.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-factory.h
diff --git a/src/code-factory.h b/src/code-factory.h
index 1821b0d8f537e47b9fee7c261c8187492e30a258..2b0dfed0ca75e8009b18c6e5228d690e72befa26 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -56,6 +56,7 @@ class CodeFactory final {
static Callable CompareIC(Isolate* isolate, Token::Value op,
Strength strength);
+ static Callable CompareNilIC(Isolate* isolate, NilValue nil_value);
static Callable BinaryOpIC(Isolate* isolate, Token::Value op,
Strength strength);
« no previous file with comments | « no previous file | src/code-factory.cc » ('j') | src/compiler/js-typed-lowering.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698