| 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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 bool Object::IsPolymorphicCodeCacheHashTable() { | 719 bool Object::IsPolymorphicCodeCacheHashTable() { |
| 720 return IsHashTable(); | 720 return IsHashTable(); |
| 721 } | 721 } |
| 722 | 722 |
| 723 | 723 |
| 724 bool Object::IsMapCache() { | 724 bool Object::IsMapCache() { |
| 725 return IsHashTable(); | 725 return IsHashTable(); |
| 726 } | 726 } |
| 727 | 727 |
| 728 | 728 |
| 729 bool Object::IsObjectHashTable() { |
| 730 return IsHashTable(); |
| 731 } |
| 732 |
| 733 |
| 729 bool Object::IsPrimitive() { | 734 bool Object::IsPrimitive() { |
| 730 return IsOddball() || IsNumber() || IsString(); | 735 return IsOddball() || IsNumber() || IsString(); |
| 731 } | 736 } |
| 732 | 737 |
| 733 | 738 |
| 734 bool Object::IsJSGlobalProxy() { | 739 bool Object::IsJSGlobalProxy() { |
| 735 bool result = IsHeapObject() && | 740 bool result = IsHeapObject() && |
| 736 (HeapObject::cast(this)->map()->instance_type() == | 741 (HeapObject::cast(this)->map()->instance_type() == |
| 737 JS_GLOBAL_PROXY_TYPE); | 742 JS_GLOBAL_PROXY_TYPE); |
| 738 ASSERT(!result || IsAccessCheckNeeded()); | 743 ASSERT(!result || IsAccessCheckNeeded()); |
| (...skipping 4820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5559 #undef WRITE_UINT32_FIELD | 5564 #undef WRITE_UINT32_FIELD |
| 5560 #undef READ_SHORT_FIELD | 5565 #undef READ_SHORT_FIELD |
| 5561 #undef WRITE_SHORT_FIELD | 5566 #undef WRITE_SHORT_FIELD |
| 5562 #undef READ_BYTE_FIELD | 5567 #undef READ_BYTE_FIELD |
| 5563 #undef WRITE_BYTE_FIELD | 5568 #undef WRITE_BYTE_FIELD |
| 5564 | 5569 |
| 5565 | 5570 |
| 5566 } } // namespace v8::internal | 5571 } } // namespace v8::internal |
| 5567 | 5572 |
| 5568 #endif // V8_OBJECTS_INL_H_ | 5573 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |