OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1721 // so we add 3 to get the offset of the displacement. | 1721 // so we add 3 to get the offset of the displacement. |
1722 Address offset_address = | 1722 Address offset_address = |
1723 test_instruction_address + delta + kOffsetToLoadInstruction + 3; | 1723 test_instruction_address + delta + kOffsetToLoadInstruction + 3; |
1724 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; | 1724 *reinterpret_cast<int*>(offset_address) = offset - kHeapObjectTag; |
1725 return true; | 1725 return true; |
1726 } | 1726 } |
1727 | 1727 |
1728 | 1728 |
1729 bool LoadIC::PatchInlinedContextualLoad(Address address, | 1729 bool LoadIC::PatchInlinedContextualLoad(Address address, |
1730 Object* map, | 1730 Object* map, |
1731 Object* cell) { | 1731 Object* cell, |
| 1732 bool is_dont_delete) { |
1732 // TODO(<bug#>): implement this. | 1733 // TODO(<bug#>): implement this. |
1733 return false; | 1734 return false; |
1734 } | 1735 } |
1735 | 1736 |
1736 | 1737 |
1737 // The offset from the inlined patch site to the start of the inlined | 1738 // The offset from the inlined patch site to the start of the inlined |
1738 // store instruction. | 1739 // store instruction. |
1739 const int StoreIC::kOffsetToStoreInstruction = 20; | 1740 const int StoreIC::kOffsetToStoreInstruction = 20; |
1740 | 1741 |
1741 | 1742 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1897 GenerateMiss(masm); | 1898 GenerateMiss(masm); |
1898 } | 1899 } |
1899 | 1900 |
1900 | 1901 |
1901 #undef __ | 1902 #undef __ |
1902 | 1903 |
1903 | 1904 |
1904 } } // namespace v8::internal | 1905 } } // namespace v8::internal |
1905 | 1906 |
1906 #endif // V8_TARGET_ARCH_X64 | 1907 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |