| OLD | NEW |
| 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_ELEMENTS_H_ | 5 #ifndef V8_ELEMENTS_H_ |
| 6 #define V8_ELEMENTS_H_ | 6 #define V8_ELEMENTS_H_ |
| 7 | 7 |
| 8 #include "src/elements-kind.h" | 8 #include "src/elements-kind.h" |
| 9 #include "src/heap/heap.h" | 9 #include "src/heap/heap.h" |
| 10 #include "src/isolate.h" | 10 #include "src/isolate.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor); | 149 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t index, | 152 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t index, |
| 153 bool allow_appending = false); | 153 bool allow_appending = false); |
| 154 | 154 |
| 155 MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements( | 155 MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements( |
| 156 Handle<JSArray> array, | 156 Handle<JSArray> array, |
| 157 Arguments* args); | 157 Arguments* args); |
| 158 | 158 |
| 159 bool IsConcatSpreadable(Isolate* isolate, Handle<Object> obj); |
| 160 |
| 159 } } // namespace v8::internal | 161 } } // namespace v8::internal |
| 160 | 162 |
| 161 #endif // V8_ELEMENTS_H_ | 163 #endif // V8_ELEMENTS_H_ |
| OLD | NEW |