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

Side by Side Diff: src/objects.h

Issue 2693043009: [typedarrays] sort in C++ for undefined comparefn (Closed)
Patch Set: [typedarrays] sort in C++ for no comparison function Created 3 years, 10 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/js/typedarray.js ('k') | src/objects-inl.h » ('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 #include <memory> 9 #include <memory>
10 10
(...skipping 10765 matching lines...) Expand 10 before | Expand all | Expand 10 after
10776 Isolate* isolate, Handle<JSTypedArray> o, Handle<Object> key, 10776 Isolate* isolate, Handle<JSTypedArray> o, Handle<Object> key,
10777 PropertyDescriptor* desc, ShouldThrow should_throw); 10777 PropertyDescriptor* desc, ShouldThrow should_throw);
10778 10778
10779 DECLARE_CAST(JSTypedArray) 10779 DECLARE_CAST(JSTypedArray)
10780 10780
10781 ExternalArrayType type(); 10781 ExternalArrayType type();
10782 V8_EXPORT_PRIVATE size_t element_size(); 10782 V8_EXPORT_PRIVATE size_t element_size();
10783 10783
10784 Handle<JSArrayBuffer> GetBuffer(); 10784 Handle<JSArrayBuffer> GetBuffer();
10785 10785
10786 static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate,
10787 Handle<Object> receiver,
10788 const char* method_name);
10789
10786 // Dispatched behavior. 10790 // Dispatched behavior.
10787 DECLARE_PRINTER(JSTypedArray) 10791 DECLARE_PRINTER(JSTypedArray)
10788 DECLARE_VERIFIER(JSTypedArray) 10792 DECLARE_VERIFIER(JSTypedArray)
10789 10793
10790 static const int kLengthOffset = kViewSize + kPointerSize; 10794 static const int kLengthOffset = kViewSize + kPointerSize;
10791 static const int kSize = kLengthOffset + kPointerSize; 10795 static const int kSize = kLengthOffset + kPointerSize;
10792 10796
10793 static const int kSizeWithInternalFields = 10797 static const int kSizeWithInternalFields =
10794 kSize + v8::ArrayBufferView::kInternalFieldCount * kPointerSize; 10798 kSize + v8::ArrayBufferView::kInternalFieldCount * kPointerSize;
10795 10799
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
11548 } 11552 }
11549 }; 11553 };
11550 11554
11551 11555
11552 } // NOLINT, false-positive due to second-order macros. 11556 } // NOLINT, false-positive due to second-order macros.
11553 } // NOLINT, false-positive due to second-order macros. 11557 } // NOLINT, false-positive due to second-order macros.
11554 11558
11555 #include "src/objects/object-macros-undef.h" 11559 #include "src/objects/object-macros-undef.h"
11556 11560
11557 #endif // V8_OBJECTS_H_ 11561 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/js/typedarray.js ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698