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

Side by Side Diff: src/builtins.cc

Issue 11973008: Replace special IC builtins and stubs in the map's cache by codestubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 BUILTIN(HandleApiCallAsConstructor) { 1451 BUILTIN(HandleApiCallAsConstructor) {
1452 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); 1452 return HandleApiCallAsFunctionOrConstructor(isolate, true, args);
1453 } 1453 }
1454 1454
1455 1455
1456 static void Generate_LoadIC_ArrayLength(MacroAssembler* masm) { 1456 static void Generate_LoadIC_ArrayLength(MacroAssembler* masm) {
1457 LoadIC::GenerateArrayLength(masm); 1457 LoadIC::GenerateArrayLength(masm);
1458 } 1458 }
1459 1459
1460 1460
1461 static void Generate_LoadIC_StringLength(MacroAssembler* masm) {
1462 LoadIC::GenerateStringLength(masm, false);
1463 }
1464
1465
1466 static void Generate_LoadIC_StringWrapperLength(MacroAssembler* masm) {
1467 LoadIC::GenerateStringLength(masm, true);
1468 }
1469
1470
1471 static void Generate_LoadIC_FunctionPrototype(MacroAssembler* masm) { 1461 static void Generate_LoadIC_FunctionPrototype(MacroAssembler* masm) {
1472 LoadIC::GenerateFunctionPrototype(masm); 1462 LoadIC::GenerateFunctionPrototype(masm);
1473 } 1463 }
1474 1464
1475 1465
1476 static void Generate_LoadIC_Initialize(MacroAssembler* masm) { 1466 static void Generate_LoadIC_Initialize(MacroAssembler* masm) {
1477 LoadIC::GenerateInitialize(masm); 1467 LoadIC::GenerateInitialize(masm);
1478 } 1468 }
1479 1469
1480 1470
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1920 return Handle<Code>(code_address); \ 1910 return Handle<Code>(code_address); \
1921 } 1911 }
1922 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1912 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1923 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1913 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1924 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1914 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1925 #undef DEFINE_BUILTIN_ACCESSOR_C 1915 #undef DEFINE_BUILTIN_ACCESSOR_C
1926 #undef DEFINE_BUILTIN_ACCESSOR_A 1916 #undef DEFINE_BUILTIN_ACCESSOR_A
1927 1917
1928 1918
1929 } } // namespace v8::internal 1919 } } // 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