| 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 9016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10523 } else { | 10524 } else { |
| 10524 value &= ~(1 << bit_position); | 10525 value &= ~(1 << bit_position); |
| 10525 } | 10526 } |
| 10526 return value; | 10527 return value; |
| 10527 } | 10528 } |
| 10528 }; | 10529 }; |
| 10529 | 10530 |
| 10530 } } // namespace v8::internal | 10531 } } // namespace v8::internal |
| 10531 | 10532 |
| 10532 #endif // V8_OBJECTS_H_ | 10533 #endif // V8_OBJECTS_H_ |
| OLD | NEW |