| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 10000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10011 void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { | 10011 void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { |
| 10012 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); | 10012 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
| 10013 VisitPointer(rinfo->target_object_address()); | 10013 VisitPointer(rinfo->target_object_address()); |
| 10014 } | 10014 } |
| 10015 | 10015 |
| 10016 void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) { | 10016 void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) { |
| 10017 Address* p = rinfo->target_reference_address(); | 10017 Address* p = rinfo->target_reference_address(); |
| 10018 VisitExternalReferences(p, p + 1); | 10018 VisitExternalReferences(p, p + 1); |
| 10019 } | 10019 } |
| 10020 | 10020 |
| 10021 byte Code::compare_nil_types() { | 10021 byte Code::compare_nil_state() { |
| 10022 ASSERT(is_compare_nil_ic_stub()); | 10022 ASSERT(is_compare_nil_ic_stub()); |
| 10023 return CompareNilICStub::ExtractTypesFromExtraICState( | 10023 return CompareNilICStub::ExtractTypesFromExtraICState( |
| 10024 extended_extra_ic_state()); | 10024 extended_extra_ic_state()); |
| 10025 } | 10025 } |
| 10026 | 10026 |
| 10027 | 10027 |
| 10028 void Code::InvalidateRelocation() { | 10028 void Code::InvalidateRelocation() { |
| 10029 set_relocation_info(GetHeap()->empty_byte_array()); | 10029 set_relocation_info(GetHeap()->empty_byte_array()); |
| 10030 } | 10030 } |
| 10031 | 10031 |
| (...skipping 5783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15815 return static_cast<Type*>(type_raw()); | 15815 return static_cast<Type*>(type_raw()); |
| 15816 } | 15816 } |
| 15817 | 15817 |
| 15818 | 15818 |
| 15819 void JSGlobalPropertyCell::set_type(Type* type, WriteBarrierMode ignored) { | 15819 void JSGlobalPropertyCell::set_type(Type* type, WriteBarrierMode ignored) { |
| 15820 set_type_raw(type, ignored); | 15820 set_type_raw(type, ignored); |
| 15821 } | 15821 } |
| 15822 | 15822 |
| 15823 | 15823 |
| 15824 } } // namespace v8::internal | 15824 } } // namespace v8::internal |
| OLD | NEW |