| 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 9674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9685 void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { | 9685 void ObjectVisitor::VisitEmbeddedPointer(RelocInfo* rinfo) { |
| 9686 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); | 9686 ASSERT(rinfo->rmode() == RelocInfo::EMBEDDED_OBJECT); |
| 9687 VisitPointer(rinfo->target_object_address()); | 9687 VisitPointer(rinfo->target_object_address()); |
| 9688 } | 9688 } |
| 9689 | 9689 |
| 9690 void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) { | 9690 void ObjectVisitor::VisitExternalReference(RelocInfo* rinfo) { |
| 9691 Address* p = rinfo->target_reference_address(); | 9691 Address* p = rinfo->target_reference_address(); |
| 9692 VisitExternalReferences(p, p + 1); | 9692 VisitExternalReferences(p, p + 1); |
| 9693 } | 9693 } |
| 9694 | 9694 |
| 9695 byte Code::compare_nil_state() { | 9695 byte Code::compare_nil_types() { |
| 9696 ASSERT(is_compare_nil_ic_stub()); | 9696 ASSERT(is_compare_nil_ic_stub()); |
| 9697 return CompareNilICStub::TypesFromExtraICState(extended_extra_ic_state()); | 9697 return CompareNilICStub::ExtractTypesFromExtraICState( |
| 9698 extended_extra_ic_state()); |
| 9698 } | 9699 } |
| 9699 | 9700 |
| 9700 | 9701 |
| 9701 void Code::InvalidateRelocation() { | 9702 void Code::InvalidateRelocation() { |
| 9702 set_relocation_info(GetHeap()->empty_byte_array()); | 9703 set_relocation_info(GetHeap()->empty_byte_array()); |
| 9703 } | 9704 } |
| 9704 | 9705 |
| 9705 | 9706 |
| 9706 void Code::Relocate(intptr_t delta) { | 9707 void Code::Relocate(intptr_t delta) { |
| 9707 for (RelocIterator it(this, RelocInfo::kApplyMask); !it.done(); it.next()) { | 9708 for (RelocIterator it(this, RelocInfo::kApplyMask); !it.done(); it.next()) { |
| (...skipping 5553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15261 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 15262 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
| 15262 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 15263 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
| 15263 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 15264 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
| 15264 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 15265 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
| 15265 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 15266 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
| 15266 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 15267 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
| 15267 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 15268 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
| 15268 } | 15269 } |
| 15269 | 15270 |
| 15270 } } // namespace v8::internal | 15271 } } // namespace v8::internal |
| OLD | NEW |