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

Side by Side Diff: src/builtins.cc

Issue 11938013: Migrate ArrayLength (Keyed|Named)LoadIC to CodeStub (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 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 } 1446 }
1447 1447
1448 1448
1449 // Handle calls to non-function objects created through the API. This delegate 1449 // Handle calls to non-function objects created through the API. This delegate
1450 // function is used when the call is a construct call. 1450 // function is used when the call is a construct call.
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) {
1457 LoadIC::GenerateArrayLength(masm);
1458 }
1459
1460
1461 static void Generate_LoadIC_FunctionPrototype(MacroAssembler* masm) { 1456 static void Generate_LoadIC_FunctionPrototype(MacroAssembler* masm) {
1462 LoadIC::GenerateFunctionPrototype(masm); 1457 LoadIC::GenerateFunctionPrototype(masm);
1463 } 1458 }
1464 1459
1465 1460
1466 static void Generate_LoadIC_Initialize(MacroAssembler* masm) { 1461 static void Generate_LoadIC_Initialize(MacroAssembler* masm) {
1467 LoadIC::GenerateInitialize(masm); 1462 LoadIC::GenerateInitialize(masm);
1468 } 1463 }
1469 1464
1470 1465
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 return Handle<Code>(code_address); \ 1905 return Handle<Code>(code_address); \
1911 } 1906 }
1912 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1907 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1913 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1908 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1914 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1909 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1915 #undef DEFINE_BUILTIN_ACCESSOR_C 1910 #undef DEFINE_BUILTIN_ACCESSOR_C
1916 #undef DEFINE_BUILTIN_ACCESSOR_A 1911 #undef DEFINE_BUILTIN_ACCESSOR_A
1917 1912
1918 1913
1919 } } // namespace v8::internal 1914 } } // 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