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

Unified Diff: src/compiler/js-native-context-specialization.h

Issue 2196653002: [turbofan] Introduce a dedicated CheckMaps simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_JSNativeContextSpecialization_NonElementKeyedAccess
Patch Set: Created 4 years, 5 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/compiler/js-native-context-specialization.h
diff --git a/src/compiler/js-native-context-specialization.h b/src/compiler/js-native-context-specialization.h
index a2ec02bce8b0e8ab6b4b05bb765bdbb78100713c..5405d1e5486aa2ba70bf40f8c22e8ff7887bf035 100644
--- a/src/compiler/js-native-context-specialization.h
+++ b/src/compiler/js-native-context-specialization.h
@@ -114,6 +114,13 @@ class JSNativeContextSpecialization final : public AdvancedReducer {
ElementAccessInfo const& access_info,
AccessMode access_mode);
+ // Construct an appropriate map check.
+ Node* BuildCheckMaps(Node* receiver, Node* effect, Node* control,
+ std::vector<Handle<Map>> const& maps);
+
+ // Construct an appropriate heap object check.
+ Node* BuildCheckTaggedPointer(Node* receiver, Node* effect, Node* control);
+
// Adds stability dependencies on all prototypes of every class in
// {receiver_type} up to (and including) the {holder}.
void AssumePrototypesStable(std::vector<Handle<Map>> const& receiver_maps,

Powered by Google App Engine
This is Rietveld 408576698