| 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 2719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2730 // Enqueue change record for Object.observe. May cause GC. | 2730 // Enqueue change record for Object.observe. May cause GC. |
| 2731 static void EnqueueChangeRecord(Handle<JSObject> object, | 2731 static void EnqueueChangeRecord(Handle<JSObject> object, |
| 2732 const char* type, | 2732 const char* type, |
| 2733 Handle<Name> name, | 2733 Handle<Name> name, |
| 2734 Handle<Object> old_value); | 2734 Handle<Object> old_value); |
| 2735 | 2735 |
| 2736 private: | 2736 private: |
| 2737 friend class DictionaryElementsAccessor; | 2737 friend class DictionaryElementsAccessor; |
| 2738 friend class JSReceiver; | 2738 friend class JSReceiver; |
| 2739 friend class Object; | 2739 friend class Object; |
| 2740 friend class V8HeapExplorer; |
| 2740 | 2741 |
| 2741 static void UpdateAllocationSite(Handle<JSObject> object, | 2742 static void UpdateAllocationSite(Handle<JSObject> object, |
| 2742 ElementsKind to_kind); | 2743 ElementsKind to_kind); |
| 2743 MUST_USE_RESULT MaybeObject* UpdateAllocationSite(ElementsKind to_kind); | 2744 MUST_USE_RESULT MaybeObject* UpdateAllocationSite(ElementsKind to_kind); |
| 2744 | 2745 |
| 2745 // Used from Object::GetProperty(). | 2746 // Used from Object::GetProperty(). |
| 2746 static Handle<Object> GetPropertyWithFailedAccessCheck( | 2747 static Handle<Object> GetPropertyWithFailedAccessCheck( |
| 2747 Handle<JSObject> object, | 2748 Handle<JSObject> object, |
| 2748 Handle<Object> receiver, | 2749 Handle<Object> receiver, |
| 2749 LookupResult* result, | 2750 LookupResult* result, |
| (...skipping 8019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10769 } else { | 10770 } else { |
| 10770 value &= ~(1 << bit_position); | 10771 value &= ~(1 << bit_position); |
| 10771 } | 10772 } |
| 10772 return value; | 10773 return value; |
| 10773 } | 10774 } |
| 10774 }; | 10775 }; |
| 10775 | 10776 |
| 10776 } } // namespace v8::internal | 10777 } } // namespace v8::internal |
| 10777 | 10778 |
| 10778 #endif // V8_OBJECTS_H_ | 10779 #endif // V8_OBJECTS_H_ |
| OLD | NEW |