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 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 MUST_USE_RESULT inline MaybeObject* GetElement(Isolate* isolate, | 1487 MUST_USE_RESULT inline MaybeObject* GetElement(Isolate* isolate, |
1488 uint32_t index); | 1488 uint32_t index); |
1489 // For use when we know that no exception can be thrown. | 1489 // For use when we know that no exception can be thrown. |
1490 inline Object* GetElementNoExceptionThrown(Isolate* isolate, uint32_t index); | 1490 inline Object* GetElementNoExceptionThrown(Isolate* isolate, uint32_t index); |
1491 MUST_USE_RESULT MaybeObject* GetElementWithReceiver(Isolate* isolate, | 1491 MUST_USE_RESULT MaybeObject* GetElementWithReceiver(Isolate* isolate, |
1492 Object* receiver, | 1492 Object* receiver, |
1493 uint32_t index); | 1493 uint32_t index); |
1494 | 1494 |
1495 // Return the object's prototype (might be Heap::null_value()). | 1495 // Return the object's prototype (might be Heap::null_value()). |
1496 Object* GetPrototype(Isolate* isolate); | 1496 Object* GetPrototype(Isolate* isolate); |
| 1497 Map* GetMarkerMap(Isolate* isolate); |
1497 | 1498 |
1498 // Returns the permanent hash code associated with this object. May return | 1499 // Returns the permanent hash code associated with this object. May return |
1499 // undefined if not yet created. | 1500 // undefined if not yet created. |
1500 Object* GetHash(); | 1501 Object* GetHash(); |
1501 | 1502 |
1502 // Returns the permanent hash code associated with this object depending on | 1503 // Returns the permanent hash code associated with this object depending on |
1503 // the actual object type. May create and store a hash code if needed and none | 1504 // the actual object type. May create and store a hash code if needed and none |
1504 // exists. | 1505 // exists. |
1505 // TODO(rafaelw): Remove isolate parameter when objects.cc is fully | 1506 // TODO(rafaelw): Remove isolate parameter when objects.cc is fully |
1506 // handlified. | 1507 // handlified. |
(...skipping 8981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10488 } else { | 10489 } else { |
10489 value &= ~(1 << bit_position); | 10490 value &= ~(1 << bit_position); |
10490 } | 10491 } |
10491 return value; | 10492 return value; |
10492 } | 10493 } |
10493 }; | 10494 }; |
10494 | 10495 |
10495 } } // namespace v8::internal | 10496 } } // namespace v8::internal |
10496 | 10497 |
10497 #endif // V8_OBJECTS_H_ | 10498 #endif // V8_OBJECTS_H_ |
OLD | NEW |