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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor); | 182 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor); |
183 }; | 183 }; |
184 | 184 |
185 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t index, | 185 void CheckArrayAbuse(Handle<JSObject> obj, const char* op, uint32_t index, |
186 bool allow_appending = false); | 186 bool allow_appending = false); |
187 | 187 |
188 MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements( | 188 MUST_USE_RESULT MaybeHandle<Object> ArrayConstructInitializeElements( |
189 Handle<JSArray> array, | 189 Handle<JSArray> array, |
190 Arguments* args); | 190 Arguments* args); |
191 | 191 |
192 } } // namespace v8::internal | 192 } // namespace internal |
| 193 } // namespace v8 |
193 | 194 |
194 #endif // V8_ELEMENTS_H_ | 195 #endif // V8_ELEMENTS_H_ |
OLD | NEW |