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

Side by Side Diff: src/isolate.h

Issue 1977943002: Version 5.1.281.36 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1
Patch Set: 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 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 } 966 }
967 date_cache_ = date_cache; 967 date_cache_ = date_cache;
968 } 968 }
969 969
970 Map* get_initial_js_array_map(ElementsKind kind); 970 Map* get_initial_js_array_map(ElementsKind kind);
971 971
972 static const int kArrayProtectorValid = 1; 972 static const int kArrayProtectorValid = 1;
973 static const int kArrayProtectorInvalid = 0; 973 static const int kArrayProtectorInvalid = 0;
974 974
975 bool IsFastArrayConstructorPrototypeChainIntact(); 975 bool IsFastArrayConstructorPrototypeChainIntact();
976 bool IsArraySpeciesLookupChainIntact(); 976 inline bool IsArraySpeciesLookupChainIntact();
977 977
978 // On intent to set an element in object, make sure that appropriate 978 // On intent to set an element in object, make sure that appropriate
979 // notifications occur if the set is on the elements of the array or 979 // notifications occur if the set is on the elements of the array or
980 // object prototype. Also ensure that changes to prototype chain between 980 // object prototype. Also ensure that changes to prototype chain between
981 // Array and Object fire notifications. 981 // Array and Object fire notifications.
982 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); 982 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object);
983 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { 983 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) {
984 UpdateArrayProtectorOnSetElement(object); 984 UpdateArrayProtectorOnSetElement(object);
985 } 985 }
986 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { 986 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) {
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 1597
1598 EmbeddedVector<char, 128> filename_; 1598 EmbeddedVector<char, 128> filename_;
1599 FILE* file_; 1599 FILE* file_;
1600 int scope_depth_; 1600 int scope_depth_;
1601 }; 1601 };
1602 1602
1603 } // namespace internal 1603 } // namespace internal
1604 } // namespace v8 1604 } // namespace v8
1605 1605
1606 #endif // V8_ISOLATE_H_ 1606 #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