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

Side by Side Diff: src/compilation-dependencies.h

Issue 2076493002: Revert of [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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compilation-dependencies.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEPENDENCIES_H_ 5 #ifndef V8_DEPENDENCIES_H_
6 #define V8_DEPENDENCIES_H_ 6 #define V8_DEPENDENCIES_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 void Insert(DependentCode::DependencyGroup group, Handle<HeapObject> handle); 26 void Insert(DependentCode::DependencyGroup group, Handle<HeapObject> handle);
27 27
28 void AssumeInitialMapCantChange(Handle<Map> map) { 28 void AssumeInitialMapCantChange(Handle<Map> map) {
29 Insert(DependentCode::kInitialMapChangedGroup, map); 29 Insert(DependentCode::kInitialMapChangedGroup, map);
30 } 30 }
31 void AssumeFieldType(Handle<Map> map) { 31 void AssumeFieldType(Handle<Map> map) {
32 Insert(DependentCode::kFieldTypeGroup, map); 32 Insert(DependentCode::kFieldTypeGroup, map);
33 } 33 }
34 void AssumeMapStable(Handle<Map> map); 34 void AssumeMapStable(Handle<Map> map);
35 void AssumePrototypeMapsStable(
36 Handle<Map> map,
37 MaybeHandle<JSReceiver> prototype = MaybeHandle<JSReceiver>());
35 void AssumeMapNotDeprecated(Handle<Map> map); 38 void AssumeMapNotDeprecated(Handle<Map> map);
36 void AssumePropertyCell(Handle<PropertyCell> cell) { 39 void AssumePropertyCell(Handle<PropertyCell> cell) {
37 Insert(DependentCode::kPropertyCellChangedGroup, cell); 40 Insert(DependentCode::kPropertyCellChangedGroup, cell);
38 } 41 }
39 void AssumeTenuringDecision(Handle<AllocationSite> site) { 42 void AssumeTenuringDecision(Handle<AllocationSite> site) {
40 Insert(DependentCode::kAllocationSiteTenuringChangedGroup, site); 43 Insert(DependentCode::kAllocationSiteTenuringChangedGroup, site);
41 } 44 }
42 void AssumeTransitionStable(Handle<AllocationSite> site); 45 void AssumeTransitionStable(Handle<AllocationSite> site);
43 46
44 void Commit(Handle<Code> code); 47 void Commit(Handle<Code> code);
(...skipping 15 matching lines...) Expand all
60 bool aborted_; 63 bool aborted_;
61 ZoneList<Handle<HeapObject> >* groups_[DependentCode::kGroupCount]; 64 ZoneList<Handle<HeapObject> >* groups_[DependentCode::kGroupCount];
62 65
63 DependentCode* Get(Handle<Object> object); 66 DependentCode* Get(Handle<Object> object);
64 void Set(Handle<Object> object, Handle<DependentCode> dep); 67 void Set(Handle<Object> object, Handle<DependentCode> dep);
65 }; 68 };
66 } // namespace internal 69 } // namespace internal
67 } // namespace v8 70 } // namespace v8
68 71
69 #endif // V8_DEPENDENCIES_H_ 72 #endif // V8_DEPENDENCIES_H_
OLDNEW
« no previous file with comments | « no previous file | src/compilation-dependencies.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698