| 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 2108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 MUST_USE_RESULT MaybeObject* PrepareElementsForSort(uint32_t limit); | 2119 MUST_USE_RESULT MaybeObject* PrepareElementsForSort(uint32_t limit); |
| 2120 // As PrepareElementsForSort, but only on objects where elements is | 2120 // As PrepareElementsForSort, but only on objects where elements is |
| 2121 // a dictionary, and it will stay a dictionary. | 2121 // a dictionary, and it will stay a dictionary. |
| 2122 MUST_USE_RESULT MaybeObject* PrepareSlowElementsForSort(uint32_t limit); | 2122 MUST_USE_RESULT MaybeObject* PrepareSlowElementsForSort(uint32_t limit); |
| 2123 | 2123 |
| 2124 static Handle<Object> GetPropertyWithCallback(Handle<JSObject> object, | 2124 static Handle<Object> GetPropertyWithCallback(Handle<JSObject> object, |
| 2125 Handle<Object> receiver, | 2125 Handle<Object> receiver, |
| 2126 Handle<Object> structure, | 2126 Handle<Object> structure, |
| 2127 Handle<Name> name); | 2127 Handle<Name> name); |
| 2128 | 2128 |
| 2129 MUST_USE_RESULT MaybeObject* GetPropertyWithCallback(Object* receiver, | |
| 2130 Object* structure, | |
| 2131 Name* name); | |
| 2132 | |
| 2133 static Handle<Object> SetPropertyWithCallback( | 2129 static Handle<Object> SetPropertyWithCallback( |
| 2134 Handle<JSObject> object, | 2130 Handle<JSObject> object, |
| 2135 Handle<Object> structure, | 2131 Handle<Object> structure, |
| 2136 Handle<Name> name, | 2132 Handle<Name> name, |
| 2137 Handle<Object> value, | 2133 Handle<Object> value, |
| 2138 Handle<JSObject> holder, | 2134 Handle<JSObject> holder, |
| 2139 StrictModeFlag strict_mode); | 2135 StrictModeFlag strict_mode); |
| 2140 | 2136 |
| 2141 static Handle<Object> SetPropertyWithInterceptor( | 2137 static Handle<Object> SetPropertyWithInterceptor( |
| 2142 Handle<JSObject> object, | 2138 Handle<JSObject> object, |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2653 friend class Object; | 2649 friend class Object; |
| 2654 | 2650 |
| 2655 // Used from Object::GetProperty(). | 2651 // Used from Object::GetProperty(). |
| 2656 static Handle<Object> GetPropertyWithFailedAccessCheck( | 2652 static Handle<Object> GetPropertyWithFailedAccessCheck( |
| 2657 Handle<JSObject> object, | 2653 Handle<JSObject> object, |
| 2658 Handle<Object> receiver, | 2654 Handle<Object> receiver, |
| 2659 LookupResult* result, | 2655 LookupResult* result, |
| 2660 Handle<Name> name, | 2656 Handle<Name> name, |
| 2661 PropertyAttributes* attributes); | 2657 PropertyAttributes* attributes); |
| 2662 | 2658 |
| 2659 static Handle<Object> GetPropertyWithForeignCallback(Isolate* isolate, |
| 2660 Handle<Object> structure, |
| 2661 Handle<Object> receiver); |
| 2662 |
| 2663 MUST_USE_RESULT MaybeObject* GetElementWithCallback(Object* receiver, | 2663 MUST_USE_RESULT MaybeObject* GetElementWithCallback(Object* receiver, |
| 2664 Object* structure, | 2664 Object* structure, |
| 2665 uint32_t index, | 2665 uint32_t index, |
| 2666 Object* holder); | 2666 Object* holder); |
| 2667 MUST_USE_RESULT PropertyAttributes GetElementAttributeWithInterceptor( | 2667 MUST_USE_RESULT PropertyAttributes GetElementAttributeWithInterceptor( |
| 2668 JSReceiver* receiver, | 2668 JSReceiver* receiver, |
| 2669 uint32_t index, | 2669 uint32_t index, |
| 2670 bool continue_search); | 2670 bool continue_search); |
| 2671 MUST_USE_RESULT PropertyAttributes GetElementAttributeWithoutInterceptor( | 2671 MUST_USE_RESULT PropertyAttributes GetElementAttributeWithoutInterceptor( |
| 2672 JSReceiver* receiver, | 2672 JSReceiver* receiver, |
| (...skipping 7734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10407 } else { | 10407 } else { |
| 10408 value &= ~(1 << bit_position); | 10408 value &= ~(1 << bit_position); |
| 10409 } | 10409 } |
| 10410 return value; | 10410 return value; |
| 10411 } | 10411 } |
| 10412 }; | 10412 }; |
| 10413 | 10413 |
| 10414 } } // namespace v8::internal | 10414 } } // namespace v8::internal |
| 10415 | 10415 |
| 10416 #endif // V8_OBJECTS_H_ | 10416 #endif // V8_OBJECTS_H_ |
| OLD | NEW |