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

Side by Side Diff: src/builtins.cc

Issue 16226024: Add LoadIC_Slow builtin and use it for loading properties from primitive values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment 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 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 static void Generate_LoadIC_Normal(MacroAssembler* masm) { 1459 static void Generate_LoadIC_Normal(MacroAssembler* masm) {
1460 LoadIC::GenerateNormal(masm); 1460 LoadIC::GenerateNormal(masm);
1461 } 1461 }
1462 1462
1463 1463
1464 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) { 1464 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) {
1465 LoadStubCompiler::GenerateLoadViaGetter(masm, Handle<JSFunction>()); 1465 LoadStubCompiler::GenerateLoadViaGetter(masm, Handle<JSFunction>());
1466 } 1466 }
1467 1467
1468 1468
1469 static void Generate_LoadIC_Slow(MacroAssembler* masm) {
1470 LoadIC::GenerateRuntimeGetProperty(masm);
1471 }
1472
1473
1469 static void Generate_KeyedLoadIC_Initialize(MacroAssembler* masm) { 1474 static void Generate_KeyedLoadIC_Initialize(MacroAssembler* masm) {
1470 KeyedLoadIC::GenerateInitialize(masm); 1475 KeyedLoadIC::GenerateInitialize(masm);
1471 } 1476 }
1472 1477
1473 1478
1474 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { 1479 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) {
1475 KeyedLoadIC::GenerateRuntimeGetProperty(masm); 1480 KeyedLoadIC::GenerateRuntimeGetProperty(masm);
1476 } 1481 }
1477 1482
1478 1483
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 return Handle<Code>(code_address); \ 1888 return Handle<Code>(code_address); \
1884 } 1889 }
1885 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1890 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1886 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1891 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1887 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1892 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1888 #undef DEFINE_BUILTIN_ACCESSOR_C 1893 #undef DEFINE_BUILTIN_ACCESSOR_C
1889 #undef DEFINE_BUILTIN_ACCESSOR_A 1894 #undef DEFINE_BUILTIN_ACCESSOR_A
1890 1895
1891 1896
1892 } } // namespace v8::internal 1897 } } // 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