| 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 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1475 | 1475 |
| 1476 __ bind(&restore_miss); | 1476 __ bind(&restore_miss); |
| 1477 __ pop(edx); | 1477 __ pop(edx); |
| 1478 | 1478 |
| 1479 __ bind(&miss); | 1479 __ bind(&miss); |
| 1480 __ IncrementCounter(counters->store_normal_miss(), 1); | 1480 __ IncrementCounter(counters->store_normal_miss(), 1); |
| 1481 GenerateMiss(masm); | 1481 GenerateMiss(masm); |
| 1482 } | 1482 } |
| 1483 | 1483 |
| 1484 | 1484 |
| 1485 void StoreIC::GenerateGlobalProxy(MacroAssembler* masm, | 1485 void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
| 1486 StrictModeFlag strict_mode) { | 1486 StrictModeFlag strict_mode) { |
| 1487 // ----------- S t a t e ------------- | 1487 // ----------- S t a t e ------------- |
| 1488 // -- eax : value | 1488 // -- eax : value |
| 1489 // -- ecx : name | 1489 // -- ecx : name |
| 1490 // -- edx : receiver | 1490 // -- edx : receiver |
| 1491 // -- esp[0] : return address | 1491 // -- esp[0] : return address |
| 1492 // ----------------------------------- | 1492 // ----------------------------------- |
| 1493 __ pop(ebx); | 1493 __ pop(ebx); |
| 1494 __ push(edx); | 1494 __ push(edx); |
| 1495 __ push(ecx); | 1495 __ push(ecx); |
| 1496 __ push(eax); | 1496 __ push(eax); |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1710 Condition cc = (check == ENABLE_INLINED_SMI_CHECK) | 1710 Condition cc = (check == ENABLE_INLINED_SMI_CHECK) |
| 1711 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) | 1711 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) |
| 1712 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); | 1712 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); |
| 1713 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); | 1713 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); |
| 1714 } | 1714 } |
| 1715 | 1715 |
| 1716 | 1716 |
| 1717 } } // namespace v8::internal | 1717 } } // namespace v8::internal |
| 1718 | 1718 |
| 1719 #endif // V8_TARGET_ARCH_IA32 | 1719 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |