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

Unified Diff: src/compiler/node-properties.h

Issue 2635243002: [turbofan] Refactor IsSame into NodeProperties. (Closed)
Patch Set: Update. Created 3 years, 11 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/compiler/js-inlining.cc ('k') | src/compiler/node-properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node-properties.h
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h
index d428160651294b9155a1f1f677a560a029ce7f41..dd8179f13dfb9108431a6e774202578200b5a5c5 100644
--- a/src/compiler/node-properties.h
+++ b/src/compiler/node-properties.h
@@ -123,6 +123,9 @@ class V8_EXPORT_PRIVATE NodeProperties final {
// - Switch: [ IfValue, ..., IfDefault ]
static void CollectControlProjections(Node* node, Node** proj, size_t count);
+ // Checks if two nodes are the same, looking past {CheckHeapObject}.
+ static bool IsSame(Node* a, Node* b);
+
// ---------------------------------------------------------------------------
// Context.
« no previous file with comments | « src/compiler/js-inlining.cc ('k') | src/compiler/node-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698