OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 __ IncrementCounter(counters->store_normal_hit(), | 1574 __ IncrementCounter(counters->store_normal_hit(), |
1575 1, r4, r5); | 1575 1, r4, r5); |
1576 __ Ret(); | 1576 __ Ret(); |
1577 | 1577 |
1578 __ bind(&miss); | 1578 __ bind(&miss); |
1579 __ IncrementCounter(counters->store_normal_miss(), 1, r4, r5); | 1579 __ IncrementCounter(counters->store_normal_miss(), 1, r4, r5); |
1580 GenerateMiss(masm); | 1580 GenerateMiss(masm); |
1581 } | 1581 } |
1582 | 1582 |
1583 | 1583 |
1584 void StoreIC::GenerateGlobalProxy(MacroAssembler* masm, | 1584 void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
1585 StrictModeFlag strict_mode) { | 1585 StrictModeFlag strict_mode) { |
1586 // ----------- S t a t e ------------- | 1586 // ----------- S t a t e ------------- |
1587 // -- r0 : value | 1587 // -- r0 : value |
1588 // -- r1 : receiver | 1588 // -- r1 : receiver |
1589 // -- r2 : name | 1589 // -- r2 : name |
1590 // -- lr : return address | 1590 // -- lr : return address |
1591 // ----------------------------------- | 1591 // ----------------------------------- |
1592 | 1592 |
1593 __ Push(r1, r2, r0); | 1593 __ Push(r1, r2, r0); |
1594 | 1594 |
1595 __ mov(r1, Operand(Smi::FromInt(NONE))); // PropertyAttributes | 1595 __ mov(r1, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1696 } else { | 1696 } else { |
1697 ASSERT(Assembler::GetCondition(branch_instr) == ne); | 1697 ASSERT(Assembler::GetCondition(branch_instr) == ne); |
1698 patcher.EmitCondition(eq); | 1698 patcher.EmitCondition(eq); |
1699 } | 1699 } |
1700 } | 1700 } |
1701 | 1701 |
1702 | 1702 |
1703 } } // namespace v8::internal | 1703 } } // namespace v8::internal |
1704 | 1704 |
1705 #endif // V8_TARGET_ARCH_ARM | 1705 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |