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

Side by Side Diff: src/builtins.cc

Issue 23442016: Add premonomorphic store ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment Created 7 years, 3 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/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 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 static void Generate_StoreIC_Initialize(MacroAssembler* masm) { 1454 static void Generate_StoreIC_Initialize(MacroAssembler* masm) {
1455 StoreIC::GenerateInitialize(masm); 1455 StoreIC::GenerateInitialize(masm);
1456 } 1456 }
1457 1457
1458 1458
1459 static void Generate_StoreIC_Initialize_Strict(MacroAssembler* masm) { 1459 static void Generate_StoreIC_Initialize_Strict(MacroAssembler* masm) {
1460 StoreIC::GenerateInitialize(masm); 1460 StoreIC::GenerateInitialize(masm);
1461 } 1461 }
1462 1462
1463 1463
1464 static void Generate_StoreIC_PreMonomorphic(MacroAssembler* masm) {
1465 StoreIC::GeneratePreMonomorphic(masm);
1466 }
1467
1468
1469 static void Generate_StoreIC_PreMonomorphic_Strict(MacroAssembler* masm) {
1470 StoreIC::GeneratePreMonomorphic(masm);
1471 }
1472
1473
1464 static void Generate_StoreIC_Miss(MacroAssembler* masm) { 1474 static void Generate_StoreIC_Miss(MacroAssembler* masm) {
1465 StoreIC::GenerateMiss(masm); 1475 StoreIC::GenerateMiss(masm);
1466 } 1476 }
1467 1477
1468 1478
1469 static void Generate_StoreIC_Normal(MacroAssembler* masm) { 1479 static void Generate_StoreIC_Normal(MacroAssembler* masm) {
1470 StoreIC::GenerateNormal(masm); 1480 StoreIC::GenerateNormal(masm);
1471 } 1481 }
1472 1482
1473 1483
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { 1549 static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) {
1540 KeyedStoreIC::GenerateInitialize(masm); 1550 KeyedStoreIC::GenerateInitialize(masm);
1541 } 1551 }
1542 1552
1543 1553
1544 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { 1554 static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) {
1545 KeyedStoreIC::GenerateInitialize(masm); 1555 KeyedStoreIC::GenerateInitialize(masm);
1546 } 1556 }
1547 1557
1548 1558
1559 static void Generate_KeyedStoreIC_PreMonomorphic(MacroAssembler* masm) {
1560 KeyedStoreIC::GeneratePreMonomorphic(masm);
1561 }
1562
1563
1564 static void Generate_KeyedStoreIC_PreMonomorphic_Strict(MacroAssembler* masm) {
1565 KeyedStoreIC::GeneratePreMonomorphic(masm);
1566 }
1567
1568
1549 static void Generate_KeyedStoreIC_NonStrictArguments(MacroAssembler* masm) { 1569 static void Generate_KeyedStoreIC_NonStrictArguments(MacroAssembler* masm) {
1550 KeyedStoreIC::GenerateNonStrictArguments(masm); 1570 KeyedStoreIC::GenerateNonStrictArguments(masm);
1551 } 1571 }
1552 1572
1553 1573
1554 #ifdef ENABLE_DEBUGGER_SUPPORT 1574 #ifdef ENABLE_DEBUGGER_SUPPORT
1555 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { 1575 static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) {
1556 Debug::GenerateLoadICDebugBreak(masm); 1576 Debug::GenerateLoadICDebugBreak(masm);
1557 } 1577 }
1558 1578
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 return Handle<Code>(code_address); \ 1855 return Handle<Code>(code_address); \
1836 } 1856 }
1837 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1857 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1838 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1858 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1839 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1859 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1840 #undef DEFINE_BUILTIN_ACCESSOR_C 1860 #undef DEFINE_BUILTIN_ACCESSOR_C
1841 #undef DEFINE_BUILTIN_ACCESSOR_A 1861 #undef DEFINE_BUILTIN_ACCESSOR_A
1842 1862
1843 1863
1844 } } // namespace v8::internal 1864 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698