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

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

Issue 2934893002: [builtins] Properly optimize Object.prototype.isPrototypeOf. (Closed)
Patch Set: Address feedback. Created 3 years, 6 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-generic-lowering.cc ('k') | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 da92ae79f0a4b0853bd0556c85405e977a0fda13..5819bce7f4ec8d67cfe11aac07a372e9c6df2a9a 100644
--- a/src/compiler/js-native-context-specialization.h
+++ b/src/compiler/js-native-context-specialization.h
@@ -145,17 +145,6 @@ class JSNativeContextSpecialization final : public AdvancedReducer {
// code dependencies and might use the array protector cell.
bool CanTreatHoleAsUndefined(MapHandles const& receiver_maps);
- // Checks if we know at compile time that the {receiver} either definitely
- // has the {prototype} in it's prototype chain, or the {receiver} definitely
- // doesn't have the {prototype} in it's prototype chain.
- enum InferHasInPrototypeChainResult {
- kIsInPrototypeChain,
- kIsNotInPrototypeChain,
- kMayBeInPrototypeChain
- };
- InferHasInPrototypeChainResult InferHasInPrototypeChain(
- Node* receiver, Node* effect, Handle<JSReceiver> prototype);
-
// Extract receiver maps from {nexus} and filter based on {receiver} if
// possible.
bool ExtractReceiverMaps(Node* receiver, Node* effect,
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698