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

Side by Side Diff: src/builtins.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.h ('k') | src/ia32/ic-ia32.cc » ('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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 StoreIC::GenerateMegamorphic(masm, kNonStrictMode); 1489 StoreIC::GenerateMegamorphic(masm, kNonStrictMode);
1490 } 1490 }
1491 1491
1492 1492
1493 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { 1493 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) {
1494 StoreIC::GenerateMegamorphic(masm, kStrictMode); 1494 StoreIC::GenerateMegamorphic(masm, kStrictMode);
1495 } 1495 }
1496 1496
1497 1497
1498 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { 1498 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) {
1499 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); 1499 StoreIC::GenerateRuntimeSetProperty(masm, kNonStrictMode);
1500 } 1500 }
1501 1501
1502 1502
1503 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { 1503 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) {
1504 StoreIC::GenerateGlobalProxy(masm, kStrictMode); 1504 StoreIC::GenerateRuntimeSetProperty(masm, kStrictMode);
1505 } 1505 }
1506 1506
1507 1507
1508 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { 1508 static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) {
1509 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>()); 1509 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>());
1510 } 1510 }
1511 1511
1512 1512
1513 static void Generate_StoreIC_Generic(MacroAssembler* masm) {
1514 StoreIC::GenerateRuntimeSetProperty(masm, kNonStrictMode);
1515 }
1516
1517
1518 static void Generate_StoreIC_Generic_Strict(MacroAssembler* masm) {
1519 StoreIC::GenerateRuntimeSetProperty(masm, kStrictMode);
1520 }
1521
1522
1513 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { 1523 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) {
1514 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); 1524 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode);
1515 } 1525 }
1516 1526
1517 1527
1518 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { 1528 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) {
1519 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); 1529 KeyedStoreIC::GenerateGeneric(masm, kStrictMode);
1520 } 1530 }
1521 1531
1522 1532
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1830 return Handle<Code>(code_address); \ 1840 return Handle<Code>(code_address); \
1831 } 1841 }
1832 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1842 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1833 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1843 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1834 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1844 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1835 #undef DEFINE_BUILTIN_ACCESSOR_C 1845 #undef DEFINE_BUILTIN_ACCESSOR_C
1836 #undef DEFINE_BUILTIN_ACCESSOR_A 1846 #undef DEFINE_BUILTIN_ACCESSOR_A
1837 1847
1838 1848
1839 } } // namespace v8::internal 1849 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698