| 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_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 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1858 | 1858 |
| 1859 MUST_USE_RESULT static Object* DefineProperty(Isolate* isolate, | 1859 MUST_USE_RESULT static Object* DefineProperty(Isolate* isolate, |
| 1860 Handle<Object> object, | 1860 Handle<Object> object, |
| 1861 Handle<Object> name, | 1861 Handle<Object> name, |
| 1862 Handle<Object> attributes); | 1862 Handle<Object> attributes); |
| 1863 MUST_USE_RESULT static Object* DefineProperties(Isolate* isolate, | 1863 MUST_USE_RESULT static Object* DefineProperties(Isolate* isolate, |
| 1864 Handle<Object> object, | 1864 Handle<Object> object, |
| 1865 Handle<Object> properties); | 1865 Handle<Object> properties); |
| 1866 | 1866 |
| 1867 // "virtual" dispatcher to the correct [[DefineOwnProperty]] implementation. | 1867 // "virtual" dispatcher to the correct [[DefineOwnProperty]] implementation. |
| 1868 static bool DefineOwnProperty(Isolate* isolate, Handle<JSObject> object, | 1868 static bool DefineOwnProperty(Isolate* isolate, Handle<JSReceiver> object, |
| 1869 Handle<Object> key, PropertyDescriptor* desc, | 1869 Handle<Object> key, PropertyDescriptor* desc, |
| 1870 ShouldThrow should_throw); | 1870 ShouldThrow should_throw); |
| 1871 | 1871 |
| 1872 static bool OrdinaryDefineOwnProperty(Isolate* isolate, | 1872 static bool OrdinaryDefineOwnProperty(Isolate* isolate, |
| 1873 Handle<JSObject> object, | 1873 Handle<JSObject> object, |
| 1874 Handle<Object> key, | 1874 Handle<Object> key, |
| 1875 PropertyDescriptor* desc, | 1875 PropertyDescriptor* desc, |
| 1876 ShouldThrow should_throw); | 1876 ShouldThrow should_throw); |
| 1877 static bool OrdinaryDefineOwnProperty(LookupIterator* it, | 1877 static bool OrdinaryDefineOwnProperty(LookupIterator* it, |
| 1878 PropertyDescriptor* desc, | 1878 PropertyDescriptor* desc, |
| (...skipping 8938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10817 // (elements + properties) in the current level. | 10817 // (elements + properties) in the current level. |
| 10818 int levelLength_; | 10818 int levelLength_; |
| 10819 | 10819 |
| 10820 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10820 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
| 10821 }; | 10821 }; |
| 10822 | 10822 |
| 10823 } // NOLINT, false-positive due to second-order macros. | 10823 } // NOLINT, false-positive due to second-order macros. |
| 10824 } // NOLINT, false-positive due to second-order macros. | 10824 } // NOLINT, false-positive due to second-order macros. |
| 10825 | 10825 |
| 10826 #endif // V8_OBJECTS_H_ | 10826 #endif // V8_OBJECTS_H_ |
| OLD | NEW |