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

Side by Side Diff: src/objects.h

Issue 1559323002: [prototype user tracking] Don't skip JSGlobalProxies (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/factory.cc ('k') | src/objects.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 2115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2126 PropertyAttributes attributes); 2126 PropertyAttributes attributes);
2127 static void SetDictionaryArgumentsElement(Handle<JSObject> object, 2127 static void SetDictionaryArgumentsElement(Handle<JSObject> object,
2128 uint32_t index, 2128 uint32_t index,
2129 Handle<Object> value, 2129 Handle<Object> value,
2130 PropertyAttributes attributes); 2130 PropertyAttributes attributes);
2131 2131
2132 static void OptimizeAsPrototype(Handle<JSObject> object, 2132 static void OptimizeAsPrototype(Handle<JSObject> object,
2133 PrototypeOptimizationMode mode); 2133 PrototypeOptimizationMode mode);
2134 static void ReoptimizeIfPrototype(Handle<JSObject> object); 2134 static void ReoptimizeIfPrototype(Handle<JSObject> object);
2135 static void LazyRegisterPrototypeUser(Handle<Map> user, Isolate* isolate); 2135 static void LazyRegisterPrototypeUser(Handle<Map> user, Isolate* isolate);
2136 static void UpdatePrototypeUserRegistration(Handle<Map> old_map,
2137 Handle<Map> new_map,
2138 Isolate* isolate);
2136 static bool UnregisterPrototypeUser(Handle<Map> user, Isolate* isolate); 2139 static bool UnregisterPrototypeUser(Handle<Map> user, Isolate* isolate);
2137 static void InvalidatePrototypeChains(Map* map); 2140 static void InvalidatePrototypeChains(Map* map);
2138 2141
2139 // Alternative implementation of WeakFixedArray::NullCallback. 2142 // Alternative implementation of WeakFixedArray::NullCallback.
2140 class PrototypeRegistryCompactionCallback { 2143 class PrototypeRegistryCompactionCallback {
2141 public: 2144 public:
2142 static void Callback(Object* value, int old_index, int new_index); 2145 static void Callback(Object* value, int old_index, int new_index);
2143 }; 2146 };
2144 2147
2145 // Retrieve interceptors. 2148 // Retrieve interceptors.
(...skipping 8573 matching lines...) Expand 10 before | Expand all | Expand 10 after
10719 } 10722 }
10720 return value; 10723 return value;
10721 } 10724 }
10722 }; 10725 };
10723 10726
10724 10727
10725 } // NOLINT, false-positive due to second-order macros. 10728 } // NOLINT, false-positive due to second-order macros.
10726 } // NOLINT, false-positive due to second-order macros. 10729 } // NOLINT, false-positive due to second-order macros.
10727 10730
10728 #endif // V8_OBJECTS_H_ 10731 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698