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

Unified Diff: src/compiler/property-access-info.h

Issue 1419173007: [turbofan] Add support for transitioning stores to double fields. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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-native-context-specialization.cc ('k') | src/compiler/property-access-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/property-access-info.h
diff --git a/src/compiler/property-access-info.h b/src/compiler/property-access-info.h
index 058d9772dff1a6e3d84661703f09ac9d164436fc..427a6b0ce22a18eac56076c6b16a2c2decef3a5d 100644
--- a/src/compiler/property-access-info.h
+++ b/src/compiler/property-access-info.h
@@ -60,6 +60,8 @@ class PropertyAccessInfo final {
Type* field_type() const { return field_type_; }
Type* receiver_type() const { return receiver_type_; }
+ bool HasTransitionMap() const { return !transition_map().is_null(); }
+
private:
PropertyAccessInfo(MaybeHandle<JSObject> holder, Handle<Object> constant,
Type* receiver_type);
@@ -91,6 +93,12 @@ class PropertyAccessInfoFactory final {
ZoneVector<PropertyAccessInfo>* access_infos);
private:
+ bool LookupSpecialFieldAccessor(Handle<Map> map, Handle<Name> name,
+ PropertyAccessInfo* access_info);
+ bool LookupTransition(Handle<Map> map, Handle<Name> name,
+ MaybeHandle<JSObject> holder,
+ PropertyAccessInfo* access_info);
+
CompilationDependencies* dependencies() const { return dependencies_; }
Factory* factory() const;
Isolate* isolate() const { return isolate_; }
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | src/compiler/property-access-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698