| 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 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1715 __ IncrementCounter(counters->store_normal_hit(), 1, x4, x5); | 1715 __ IncrementCounter(counters->store_normal_hit(), 1, x4, x5); |
| 1716 __ Ret(); | 1716 __ Ret(); |
| 1717 | 1717 |
| 1718 // Cache miss: Jump to runtime. | 1718 // Cache miss: Jump to runtime. |
| 1719 __ Bind(&miss); | 1719 __ Bind(&miss); |
| 1720 __ IncrementCounter(counters->store_normal_miss(), 1, x4, x5); | 1720 __ IncrementCounter(counters->store_normal_miss(), 1, x4, x5); |
| 1721 GenerateMiss(masm); | 1721 GenerateMiss(masm); |
| 1722 } | 1722 } |
| 1723 | 1723 |
| 1724 | 1724 |
| 1725 void StoreIC::GenerateGlobalProxy(MacroAssembler* masm, | 1725 void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
| 1726 StrictModeFlag strict_mode) { | 1726 StrictModeFlag strict_mode) { |
| 1727 ASM_LOCATION("StoreIC::GenerateGlobalProxy"); | 1727 ASM_LOCATION("StoreIC::GenerateRuntimeSetProperty"); |
| 1728 // ----------- S t a t e ------------- | 1728 // ----------- S t a t e ------------- |
| 1729 // -- x0 : value | 1729 // -- x0 : value |
| 1730 // -- x1 : receiver | 1730 // -- x1 : receiver |
| 1731 // -- x2 : name | 1731 // -- x2 : name |
| 1732 // -- lr : return address | 1732 // -- lr : return address |
| 1733 // ----------------------------------- | 1733 // ----------------------------------- |
| 1734 | 1734 |
| 1735 __ Push(x1, x2, x0); | 1735 __ Push(x1, x2, x0); |
| 1736 | 1736 |
| 1737 __ Mov(x11, Operand(Smi::FromInt(NONE))); // PropertyAttributes | 1737 __ Mov(x11, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1849 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); | 1849 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); |
| 1850 // This is JumpIfSmi(smi_reg, branch_imm). | 1850 // This is JumpIfSmi(smi_reg, branch_imm). |
| 1851 patcher.tbz(smi_reg, 0, branch_imm); | 1851 patcher.tbz(smi_reg, 0, branch_imm); |
| 1852 } | 1852 } |
| 1853 } | 1853 } |
| 1854 | 1854 |
| 1855 | 1855 |
| 1856 } } // namespace v8::internal | 1856 } } // namespace v8::internal |
| 1857 | 1857 |
| 1858 #endif // V8_TARGET_ARCH_A64 | 1858 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |