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

Side by Side Diff: src/arm64/builtins-arm64.cc

Issue 247373002: CallICStub with a "never patch" approach until customization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE + code size multiplier. Created 6 years, 7 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/arm/lithium-codegen-arm.cc ('k') | src/arm64/code-stubs-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "codegen.h" 9 #include "codegen.h"
10 #include "debug.h" 10 #include "debug.h"
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 // x26 : root register (root). 753 // x26 : root register (root).
754 // x27 : context pointer (cp). 754 // x27 : context pointer (cp).
755 // x28 : JS stack pointer (jssp). 755 // x28 : JS stack pointer (jssp).
756 // x29 : frame pointer (fp). 756 // x29 : frame pointer (fp).
757 757
758 __ Mov(x0, argc); 758 __ Mov(x0, argc);
759 if (is_construct) { 759 if (is_construct) {
760 // No type feedback cell is available. 760 // No type feedback cell is available.
761 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex); 761 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex);
762 762
763 CallConstructStub stub(masm->isolate(), NO_CALL_FUNCTION_FLAGS); 763 CallConstructStub stub(masm->isolate(), NO_CALL_CONSTRUCTOR_FLAGS);
764 __ CallStub(&stub); 764 __ CallStub(&stub);
765 } else { 765 } else {
766 ParameterCount actual(x0); 766 ParameterCount actual(x0);
767 __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper()); 767 __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper());
768 } 768 }
769 // Exit the JS internal frame and remove the parameters (except function), 769 // Exit the JS internal frame and remove the parameters (except function),
770 // and return. 770 // and return.
771 } 771 }
772 772
773 // Result is in x0. Return. 773 // Result is in x0. Return.
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 __ Unreachable(); 1560 __ Unreachable();
1561 } 1561 }
1562 } 1562 }
1563 1563
1564 1564
1565 #undef __ 1565 #undef __
1566 1566
1567 } } // namespace v8::internal 1567 } } // namespace v8::internal
1568 1568
1569 #endif // V8_TARGET_ARCH_ARM 1569 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698