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

Side by Side Diff: src/builtins.cc

Issue 11896091: Replace store array length builtin with codestub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Only inform of updating IC after actually updating it. Created 7 years, 11 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/code-stubs.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 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { 1553 static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) {
1554 StoreIC::GenerateMegamorphic(masm, kNonStrictMode); 1554 StoreIC::GenerateMegamorphic(masm, kNonStrictMode);
1555 } 1555 }
1556 1556
1557 1557
1558 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { 1558 static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) {
1559 StoreIC::GenerateMegamorphic(masm, kStrictMode); 1559 StoreIC::GenerateMegamorphic(masm, kStrictMode);
1560 } 1560 }
1561 1561
1562 1562
1563 static void Generate_StoreIC_ArrayLength(MacroAssembler* masm) {
1564 StoreIC::GenerateArrayLength(masm);
1565 }
1566
1567
1568 static void Generate_StoreIC_ArrayLength_Strict(MacroAssembler* masm) {
1569 StoreIC::GenerateArrayLength(masm);
1570 }
1571
1572
1573 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { 1563 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) {
1574 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); 1564 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode);
1575 } 1565 }
1576 1566
1577 1567
1578 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { 1568 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) {
1579 StoreIC::GenerateGlobalProxy(masm, kStrictMode); 1569 StoreIC::GenerateGlobalProxy(masm, kStrictMode);
1580 } 1570 }
1581 1571
1582 1572
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 return Handle<Code>(code_address); \ 1890 return Handle<Code>(code_address); \
1901 } 1891 }
1902 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1892 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1903 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1893 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1904 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1894 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1905 #undef DEFINE_BUILTIN_ACCESSOR_C 1895 #undef DEFINE_BUILTIN_ACCESSOR_C
1906 #undef DEFINE_BUILTIN_ACCESSOR_A 1896 #undef DEFINE_BUILTIN_ACCESSOR_A
1907 1897
1908 1898
1909 } } // namespace v8::internal 1899 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698