| 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 10007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10018 Address* p = rinfo->target_reference_address(); | 10018 Address* p = rinfo->target_reference_address(); |
| 10019 VisitExternalReferences(p, p + 1); | 10019 VisitExternalReferences(p, p + 1); |
| 10020 } | 10020 } |
| 10021 | 10021 |
| 10022 byte Code::compare_nil_state() { | 10022 byte Code::compare_nil_state() { |
| 10023 ASSERT(is_compare_nil_ic_stub()); | 10023 ASSERT(is_compare_nil_ic_stub()); |
| 10024 return CompareNilICStub::ExtractTypesFromExtraICState( | 10024 return CompareNilICStub::ExtractTypesFromExtraICState( |
| 10025 extended_extra_ic_state()); | 10025 extended_extra_ic_state()); |
| 10026 } | 10026 } |
| 10027 | 10027 |
| 10028 byte Code::compare_nil_value() { |
| 10029 ASSERT(is_compare_nil_ic_stub()); |
| 10030 return CompareNilICStub::ExtractNilValueFromExtraICState( |
| 10031 extended_extra_ic_state()); |
| 10032 } |
| 10033 |
| 10028 | 10034 |
| 10029 void Code::InvalidateRelocation() { | 10035 void Code::InvalidateRelocation() { |
| 10030 set_relocation_info(GetHeap()->empty_byte_array()); | 10036 set_relocation_info(GetHeap()->empty_byte_array()); |
| 10031 } | 10037 } |
| 10032 | 10038 |
| 10033 | 10039 |
| 10034 void Code::Relocate(intptr_t delta) { | 10040 void Code::Relocate(intptr_t delta) { |
| 10035 for (RelocIterator it(this, RelocInfo::kApplyMask); !it.done(); it.next()) { | 10041 for (RelocIterator it(this, RelocInfo::kApplyMask); !it.done(); it.next()) { |
| 10036 it.rinfo()->apply(delta); | 10042 it.rinfo()->apply(delta); |
| 10037 } | 10043 } |
| (...skipping 5778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15816 return static_cast<Type*>(type_raw()); | 15822 return static_cast<Type*>(type_raw()); |
| 15817 } | 15823 } |
| 15818 | 15824 |
| 15819 | 15825 |
| 15820 void PropertyCell::set_type(Type* type, WriteBarrierMode ignored) { | 15826 void PropertyCell::set_type(Type* type, WriteBarrierMode ignored) { |
| 15821 set_type_raw(type, ignored); | 15827 set_type_raw(type, ignored); |
| 15822 } | 15828 } |
| 15823 | 15829 |
| 15824 | 15830 |
| 15825 } } // namespace v8::internal | 15831 } } // namespace v8::internal |
| OLD | NEW |