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

Unified Diff: src/compilation-dependencies.cc

Issue 2067423003: [turbofan] Properly handle dictionary maps in the prototype chain. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_CheckedOperators
Patch Set: Created 4 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/compilation-dependencies.h ('k') | src/compiler/js-native-context-specialization.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compilation-dependencies.cc
diff --git a/src/compilation-dependencies.cc b/src/compilation-dependencies.cc
index 96b3859e9ab4b73eb22a7e41db3568ed59f30f52..183de2876ea957f531e01dcfe95599e0b78877ad 100644
--- a/src/compilation-dependencies.cc
+++ b/src/compilation-dependencies.cc
@@ -124,20 +124,6 @@ void CompilationDependencies::AssumeMapStable(Handle<Map> map) {
}
-void CompilationDependencies::AssumePrototypeMapsStable(
- Handle<Map> map, MaybeHandle<JSReceiver> prototype) {
- for (PrototypeIterator i(map); !i.IsAtEnd(); i.Advance()) {
- Handle<JSReceiver> const current =
- PrototypeIterator::GetCurrent<JSReceiver>(i);
- AssumeMapStable(handle(current->map()));
- Handle<JSReceiver> last;
- if (prototype.ToHandle(&last) && last.is_identical_to(current)) {
- break;
- }
- }
-}
-
-
void CompilationDependencies::AssumeTransitionStable(
Handle<AllocationSite> site) {
// Do nothing if the object doesn't have any useful element transitions left.
« no previous file with comments | « src/compilation-dependencies.h ('k') | src/compiler/js-native-context-specialization.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698