| 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 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1581 Counters* counters = masm->isolate()->counters(); | 1581 Counters* counters = masm->isolate()->counters(); |
| 1582 __ IncrementCounter(counters->store_normal_hit(), 1, t0, t1); | 1582 __ IncrementCounter(counters->store_normal_hit(), 1, t0, t1); |
| 1583 __ Ret(); | 1583 __ Ret(); |
| 1584 | 1584 |
| 1585 __ bind(&miss); | 1585 __ bind(&miss); |
| 1586 __ IncrementCounter(counters->store_normal_miss(), 1, t0, t1); | 1586 __ IncrementCounter(counters->store_normal_miss(), 1, t0, t1); |
| 1587 GenerateMiss(masm); | 1587 GenerateMiss(masm); |
| 1588 } | 1588 } |
| 1589 | 1589 |
| 1590 | 1590 |
| 1591 void StoreIC::GenerateGlobalProxy(MacroAssembler* masm, | 1591 void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
| 1592 StrictModeFlag strict_mode) { | 1592 StrictModeFlag strict_mode) { |
| 1593 // ----------- S t a t e ------------- | 1593 // ----------- S t a t e ------------- |
| 1594 // -- a0 : value | 1594 // -- a0 : value |
| 1595 // -- a1 : receiver | 1595 // -- a1 : receiver |
| 1596 // -- a2 : name | 1596 // -- a2 : name |
| 1597 // -- ra : return address | 1597 // -- ra : return address |
| 1598 // ----------------------------------- | 1598 // ----------------------------------- |
| 1599 | 1599 |
| 1600 __ Push(a1, a2, a0); | 1600 __ Push(a1, a2, a0); |
| 1601 | 1601 |
| 1602 __ li(a1, Operand(Smi::FromInt(NONE))); // PropertyAttributes. | 1602 __ li(a1, Operand(Smi::FromInt(NONE))); // PropertyAttributes. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1703 } else { | 1703 } else { |
| 1704 ASSERT(Assembler::IsBne(branch_instr)); | 1704 ASSERT(Assembler::IsBne(branch_instr)); |
| 1705 patcher.ChangeBranchCondition(eq); | 1705 patcher.ChangeBranchCondition(eq); |
| 1706 } | 1706 } |
| 1707 } | 1707 } |
| 1708 | 1708 |
| 1709 | 1709 |
| 1710 } } // namespace v8::internal | 1710 } } // namespace v8::internal |
| 1711 | 1711 |
| 1712 #endif // V8_TARGET_ARCH_MIPS | 1712 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |