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 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::GenerateRuntimeSetProperty(masm, kNonStrictMode); | 1499 StoreIC::GenerateGlobalProxy(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::GenerateRuntimeSetProperty(masm, kStrictMode); | 1504 StoreIC::GenerateGlobalProxy(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 | |
1523 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { | 1513 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
1524 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); | 1514 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
1525 } | 1515 } |
1526 | 1516 |
1527 | 1517 |
1528 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { | 1518 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
1529 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); | 1519 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); |
1530 } | 1520 } |
1531 | 1521 |
1532 | 1522 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1840 return Handle<Code>(code_address); \ | 1830 return Handle<Code>(code_address); \ |
1841 } | 1831 } |
1842 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1832 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
1843 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1833 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
1844 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1834 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
1845 #undef DEFINE_BUILTIN_ACCESSOR_C | 1835 #undef DEFINE_BUILTIN_ACCESSOR_C |
1846 #undef DEFINE_BUILTIN_ACCESSOR_A | 1836 #undef DEFINE_BUILTIN_ACCESSOR_A |
1847 | 1837 |
1848 | 1838 |
1849 } } // namespace v8::internal | 1839 } } // namespace v8::internal |
OLD | NEW |