| OLD | NEW | 
|      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 9421 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   9432   DECLARE_CAST(JSTypedArray) |   9432   DECLARE_CAST(JSTypedArray) | 
|   9433  |   9433  | 
|   9434   ExternalArrayType type(); |   9434   ExternalArrayType type(); | 
|   9435   V8_EXPORT_PRIVATE size_t element_size(); |   9435   V8_EXPORT_PRIVATE size_t element_size(); | 
|   9436  |   9436  | 
|   9437   Handle<JSArrayBuffer> GetBuffer(); |   9437   Handle<JSArrayBuffer> GetBuffer(); | 
|   9438  |   9438  | 
|   9439   static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate, |   9439   static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate, | 
|   9440                                                    Handle<Object> receiver, |   9440                                                    Handle<Object> receiver, | 
|   9441                                                    const char* method_name); |   9441                                                    const char* method_name); | 
 |   9442   // ES7 section 22.2.4.6 Create ( constructor, argumentList ) | 
 |   9443   static MaybeHandle<JSTypedArray> Create(Isolate* isolate, | 
 |   9444                                           Handle<JSFunction> default_ctor, | 
 |   9445                                           int argc, Handle<Object>* argv, | 
 |   9446                                           const char* method_name); | 
 |   9447   // ES7 section 22.2.4.7 TypedArraySpeciesCreate ( exemplar, argumentList ) | 
 |   9448   static MaybeHandle<JSTypedArray> SpeciesCreate(Isolate* isolate, | 
 |   9449                                                  Handle<JSTypedArray> exemplar, | 
 |   9450                                                  int argc, Handle<Object>* argv, | 
 |   9451                                                  const char* method_name); | 
|   9442  |   9452  | 
|   9443   // Dispatched behavior. |   9453   // Dispatched behavior. | 
|   9444   DECLARE_PRINTER(JSTypedArray) |   9454   DECLARE_PRINTER(JSTypedArray) | 
|   9445   DECLARE_VERIFIER(JSTypedArray) |   9455   DECLARE_VERIFIER(JSTypedArray) | 
|   9446  |   9456  | 
|   9447   static const int kLengthOffset = kViewSize + kPointerSize; |   9457   static const int kLengthOffset = kViewSize + kPointerSize; | 
|   9448   static const int kSize = kLengthOffset + kPointerSize; |   9458   static const int kSize = kLengthOffset + kPointerSize; | 
|   9449  |   9459  | 
|   9450   static const int kSizeWithEmbedderFields = |   9460   static const int kSizeWithEmbedderFields = | 
|   9451       kSize + v8::ArrayBufferView::kEmbedderFieldCount * kPointerSize; |   9461       kSize + v8::ArrayBufferView::kEmbedderFieldCount * kPointerSize; | 
| (...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  10215   } |  10225   } | 
|  10216 }; |  10226 }; | 
|  10217  |  10227  | 
|  10218  |  10228  | 
|  10219 }  // NOLINT, false-positive due to second-order macros. |  10229 }  // NOLINT, false-positive due to second-order macros. | 
|  10220 }  // NOLINT, false-positive due to second-order macros. |  10230 }  // NOLINT, false-positive due to second-order macros. | 
|  10221  |  10231  | 
|  10222 #include "src/objects/object-macros-undef.h" |  10232 #include "src/objects/object-macros-undef.h" | 
|  10223  |  10233  | 
|  10224 #endif  // V8_OBJECTS_H_ |  10234 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW |