| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1734 // Element with given index is stored in fast backing store. | 1734 // Element with given index is stored in fast backing store. |
| 1735 FAST_ELEMENT, | 1735 FAST_ELEMENT, |
| 1736 | 1736 |
| 1737 // Element with given index is stored in slow backing store. | 1737 // Element with given index is stored in slow backing store. |
| 1738 DICTIONARY_ELEMENT | 1738 DICTIONARY_ELEMENT |
| 1739 }; | 1739 }; |
| 1740 | 1740 |
| 1741 LocalElementType HasLocalElement(uint32_t index); | 1741 LocalElementType HasLocalElement(uint32_t index); |
| 1742 | 1742 |
| 1743 bool HasElementWithInterceptor(JSReceiver* receiver, uint32_t index); | 1743 bool HasElementWithInterceptor(JSReceiver* receiver, uint32_t index); |
| 1744 bool HasElementPostInterceptor(JSReceiver* receiver, uint32_t index); | |
| 1745 | 1744 |
| 1746 MUST_USE_RESULT MaybeObject* SetFastElement(uint32_t index, | 1745 MUST_USE_RESULT MaybeObject* SetFastElement(uint32_t index, |
| 1747 Object* value, | 1746 Object* value, |
| 1748 StrictModeFlag strict_mode, | 1747 StrictModeFlag strict_mode, |
| 1749 bool check_prototype); | 1748 bool check_prototype); |
| 1750 MUST_USE_RESULT MaybeObject* SetDictionaryElement(uint32_t index, | 1749 MUST_USE_RESULT MaybeObject* SetDictionaryElement(uint32_t index, |
| 1751 Object* value, | 1750 Object* value, |
| 1752 StrictModeFlag strict_mode, | 1751 StrictModeFlag strict_mode, |
| 1753 bool check_prototype); | 1752 bool check_prototype); |
| 1754 | 1753 |
| (...skipping 5731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7486 } else { | 7485 } else { |
| 7487 value &= ~(1 << bit_position); | 7486 value &= ~(1 << bit_position); |
| 7488 } | 7487 } |
| 7489 return value; | 7488 return value; |
| 7490 } | 7489 } |
| 7491 }; | 7490 }; |
| 7492 | 7491 |
| 7493 } } // namespace v8::internal | 7492 } } // namespace v8::internal |
| 7494 | 7493 |
| 7495 #endif // V8_OBJECTS_H_ | 7494 #endif // V8_OBJECTS_H_ |
| OLD | NEW |