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

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

Issue 223823002: Revert r20474 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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 // 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 // x26 : root register (root). 778 // x26 : root register (root).
779 // x27 : context pointer (cp). 779 // x27 : context pointer (cp).
780 // x28 : JS stack pointer (jssp). 780 // x28 : JS stack pointer (jssp).
781 // x29 : frame pointer (fp). 781 // x29 : frame pointer (fp).
782 782
783 __ Mov(x0, argc); 783 __ Mov(x0, argc);
784 if (is_construct) { 784 if (is_construct) {
785 // No type feedback cell is available. 785 // No type feedback cell is available.
786 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex); 786 __ LoadRoot(x2, Heap::kUndefinedValueRootIndex);
787 787
788 CallConstructStub stub(NO_CALL_CONSTRUCTOR_FLAGS); 788 CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
789 __ CallStub(&stub); 789 __ CallStub(&stub);
790 } else { 790 } else {
791 ParameterCount actual(x0); 791 ParameterCount actual(x0);
792 __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper()); 792 __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper());
793 } 793 }
794 // Exit the JS internal frame and remove the parameters (except function), 794 // Exit the JS internal frame and remove the parameters (except function),
795 // and return. 795 // and return.
796 } 796 }
797 797
798 // Result is in x0. Return. 798 // Result is in x0. Return.
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 __ Bind(&dont_adapt_arguments); 1553 __ Bind(&dont_adapt_arguments);
1554 __ Jump(code_entry); 1554 __ Jump(code_entry);
1555 } 1555 }
1556 1556
1557 1557
1558 #undef __ 1558 #undef __
1559 1559
1560 } } // namespace v8::internal 1560 } } // namespace v8::internal
1561 1561
1562 #endif // V8_TARGET_ARCH_ARM 1562 #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