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

Side by Side Diff: src/isolate.h

Issue 2405253006: [builtins] implement Array.prototype[@@iterator] in TFJ builtins (Closed)
Patch Set: add array_iterator_protector, and check array_protector in holey fast arrays Created 4 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 unified diff | Download patch
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 <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { 1008 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) {
1009 UpdateArrayProtectorOnSetElement(object); 1009 UpdateArrayProtectorOnSetElement(object);
1010 } 1010 }
1011 void UpdateArrayProtectorOnNormalizeElements(Handle<JSObject> object) { 1011 void UpdateArrayProtectorOnNormalizeElements(Handle<JSObject> object) {
1012 UpdateArrayProtectorOnSetElement(object); 1012 UpdateArrayProtectorOnSetElement(object);
1013 } 1013 }
1014 void InvalidateArraySpeciesProtector(); 1014 void InvalidateArraySpeciesProtector();
1015 void InvalidateHasInstanceProtector(); 1015 void InvalidateHasInstanceProtector();
1016 void InvalidateIsConcatSpreadableProtector(); 1016 void InvalidateIsConcatSpreadableProtector();
1017 void InvalidateStringLengthOverflowProtector(); 1017 void InvalidateStringLengthOverflowProtector();
1018 void InvalidateArrayIteratorProtector();
1018 1019
1019 // Returns true if array is the initial array prototype in any native context. 1020 // Returns true if array is the initial array prototype in any native context.
1020 bool IsAnyInitialArrayPrototype(Handle<JSArray> array); 1021 bool IsAnyInitialArrayPrototype(Handle<JSArray> array);
1021 1022
1022 CallInterfaceDescriptorData* call_descriptor_data(int index); 1023 CallInterfaceDescriptorData* call_descriptor_data(int index);
1023 1024
1024 AccessCompilerData* access_compiler_data() { return access_compiler_data_; } 1025 AccessCompilerData* access_compiler_data() { return access_compiler_data_; }
1025 1026
1026 void IterateDeferredHandles(ObjectVisitor* visitor); 1027 void IterateDeferredHandles(ObjectVisitor* visitor);
1027 void LinkDeferredHandles(DeferredHandles* deferred_handles); 1028 void LinkDeferredHandles(DeferredHandles* deferred_handles);
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 1683
1683 EmbeddedVector<char, 128> filename_; 1684 EmbeddedVector<char, 128> filename_;
1684 FILE* file_; 1685 FILE* file_;
1685 int scope_depth_; 1686 int scope_depth_;
1686 }; 1687 };
1687 1688
1688 } // namespace internal 1689 } // namespace internal
1689 } // namespace v8 1690 } // namespace v8
1690 1691
1691 #endif // V8_ISOLATE_H_ 1692 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698