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 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1569 uint32_t index); | 1569 uint32_t index); |
1570 | 1570 |
1571 MUST_USE_RESULT static MaybeHandle<Object> GetElementWithReceiver( | 1571 MUST_USE_RESULT static MaybeHandle<Object> GetElementWithReceiver( |
1572 Isolate* isolate, | 1572 Isolate* isolate, |
1573 Handle<Object> object, | 1573 Handle<Object> object, |
1574 Handle<Object> receiver, | 1574 Handle<Object> receiver, |
1575 uint32_t index); | 1575 uint32_t index); |
1576 | 1576 |
1577 // Return the object's prototype (might be Heap::null_value()). | 1577 // Return the object's prototype (might be Heap::null_value()). |
1578 Object* GetPrototype(Isolate* isolate); | 1578 Object* GetPrototype(Isolate* isolate); |
| 1579 static Handle<Object> GetPrototype(Isolate* isolate, Handle<Object> object); |
1579 Map* GetMarkerMap(Isolate* isolate); | 1580 Map* GetMarkerMap(Isolate* isolate); |
1580 | 1581 |
1581 // Returns the permanent hash code associated with this object. May return | 1582 // Returns the permanent hash code associated with this object. May return |
1582 // undefined if not yet created. | 1583 // undefined if not yet created. |
1583 Object* GetHash(); | 1584 Object* GetHash(); |
1584 | 1585 |
1585 // Returns the permanent hash code associated with this object depending on | 1586 // Returns the permanent hash code associated with this object depending on |
1586 // the actual object type. May create and store a hash code if needed and none | 1587 // the actual object type. May create and store a hash code if needed and none |
1587 // exists. | 1588 // exists. |
1588 // TODO(rafaelw): Remove isolate parameter when objects.cc is fully | 1589 // TODO(rafaelw): Remove isolate parameter when objects.cc is fully |
(...skipping 9486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11075 } else { | 11076 } else { |
11076 value &= ~(1 << bit_position); | 11077 value &= ~(1 << bit_position); |
11077 } | 11078 } |
11078 return value; | 11079 return value; |
11079 } | 11080 } |
11080 }; | 11081 }; |
11081 | 11082 |
11082 } } // namespace v8::internal | 11083 } } // namespace v8::internal |
11083 | 11084 |
11084 #endif // V8_OBJECTS_H_ | 11085 #endif // V8_OBJECTS_H_ |
OLD | NEW |