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

Side by Side Diff: src/isolate.h

Issue 1958713003: Various species micro-optimizations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bug and formatting Created 4 years, 7 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/builtins.cc ('k') | src/isolate.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 } 951 }
952 date_cache_ = date_cache; 952 date_cache_ = date_cache;
953 } 953 }
954 954
955 Map* get_initial_js_array_map(ElementsKind kind); 955 Map* get_initial_js_array_map(ElementsKind kind);
956 956
957 static const int kArrayProtectorValid = 1; 957 static const int kArrayProtectorValid = 1;
958 static const int kArrayProtectorInvalid = 0; 958 static const int kArrayProtectorInvalid = 0;
959 959
960 bool IsFastArrayConstructorPrototypeChainIntact(); 960 bool IsFastArrayConstructorPrototypeChainIntact();
961 bool IsArraySpeciesLookupChainIntact(); 961 inline bool IsArraySpeciesLookupChainIntact();
962 962
963 // On intent to set an element in object, make sure that appropriate 963 // On intent to set an element in object, make sure that appropriate
964 // notifications occur if the set is on the elements of the array or 964 // notifications occur if the set is on the elements of the array or
965 // object prototype. Also ensure that changes to prototype chain between 965 // object prototype. Also ensure that changes to prototype chain between
966 // Array and Object fire notifications. 966 // Array and Object fire notifications.
967 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); 967 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object);
968 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { 968 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) {
969 UpdateArrayProtectorOnSetElement(object); 969 UpdateArrayProtectorOnSetElement(object);
970 } 970 }
971 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { 971 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) {
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 1589
1590 EmbeddedVector<char, 128> filename_; 1590 EmbeddedVector<char, 128> filename_;
1591 FILE* file_; 1591 FILE* file_;
1592 int scope_depth_; 1592 int scope_depth_;
1593 }; 1593 };
1594 1594
1595 } // namespace internal 1595 } // namespace internal
1596 } // namespace v8 1596 } // namespace v8
1597 1597
1598 #endif // V8_ISOLATE_H_ 1598 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698