Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/ia32/ic-ia32.cc

Issue 17027007: Install a generic handler whenever we fail to update the IC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/builtins.cc ('k') | src/ic.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698