| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1836 inline int LastAddedFieldIndex(); | 1836 inline int LastAddedFieldIndex(); |
| 1837 | 1837 |
| 1838 // Extend the receiver with a single fast property appeared first in the | 1838 // Extend the receiver with a single fast property appeared first in the |
| 1839 // passed map. This also extends the property backing store if necessary. | 1839 // passed map. This also extends the property backing store if necessary. |
| 1840 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map); | 1840 static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map); |
| 1841 inline MUST_USE_RESULT MaybeObject* AllocateStorageForMap(Map* map); | 1841 inline MUST_USE_RESULT MaybeObject* AllocateStorageForMap(Map* map); |
| 1842 | 1842 |
| 1843 static void MigrateInstance(Handle<JSObject> instance); | 1843 static void MigrateInstance(Handle<JSObject> instance); |
| 1844 inline MUST_USE_RESULT MaybeObject* MigrateInstance(); | 1844 inline MUST_USE_RESULT MaybeObject* MigrateInstance(); |
| 1845 | 1845 |
| 1846 static Handle<Object> TryMigrateInstance(Handle<JSObject> instance); |
| 1847 inline MUST_USE_RESULT MaybeObject* TryMigrateInstance(); |
| 1848 |
| 1846 // Can cause GC. | 1849 // Can cause GC. |
| 1847 MUST_USE_RESULT MaybeObject* SetLocalPropertyIgnoreAttributes( | 1850 MUST_USE_RESULT MaybeObject* SetLocalPropertyIgnoreAttributes( |
| 1848 Name* key, | 1851 Name* key, |
| 1849 Object* value, | 1852 Object* value, |
| 1850 PropertyAttributes attributes); | 1853 PropertyAttributes attributes); |
| 1851 | 1854 |
| 1852 // Retrieve a value in a normalized object given a lookup result. | 1855 // Retrieve a value in a normalized object given a lookup result. |
| 1853 // Handles the special representation of JS global objects. | 1856 // Handles the special representation of JS global objects. |
| 1854 Object* GetNormalizedProperty(LookupResult* result); | 1857 Object* GetNormalizedProperty(LookupResult* result); |
| 1855 | 1858 |
| (...skipping 7759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9615 } else { | 9618 } else { |
| 9616 value &= ~(1 << bit_position); | 9619 value &= ~(1 << bit_position); |
| 9617 } | 9620 } |
| 9618 return value; | 9621 return value; |
| 9619 } | 9622 } |
| 9620 }; | 9623 }; |
| 9621 | 9624 |
| 9622 } } // namespace v8::internal | 9625 } } // namespace v8::internal |
| 9623 | 9626 |
| 9624 #endif // V8_OBJECTS_H_ | 9627 #endif // V8_OBJECTS_H_ |
| OLD | NEW |