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

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

Issue 1379933003: Revert of [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « src/arm/interface-descriptors-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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/debug/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/deoptimizer.h" 10 #include "src/deoptimizer.h"
(...skipping 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 __ bind(&non_constructor); 1746 __ bind(&non_constructor);
1747 { 1747 {
1748 FrameScope scope(masm, StackFrame::INTERNAL); 1748 FrameScope scope(masm, StackFrame::INTERNAL);
1749 __ Push(x1); 1749 __ Push(x1);
1750 __ CallRuntime(Runtime::kThrowCalledNonCallable, 1); 1750 __ CallRuntime(Runtime::kThrowCalledNonCallable, 1);
1751 } 1751 }
1752 } 1752 }
1753 1753
1754 1754
1755 // static 1755 // static
1756 void Builtins::Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) { 1756 void Builtins::Generate_PushArgsAndCall(MacroAssembler* masm) {
1757 // ----------- S t a t e ------------- 1757 // ----------- S t a t e -------------
1758 // -- x0 : the number of arguments (not including the receiver) 1758 // -- x0 : the number of arguments (not including the receiver)
1759 // -- x2 : the address of the first argument to be pushed. Subsequent 1759 // -- x2 : the address of the first argument to be pushed. Subsequent
1760 // arguments should be consecutive above this, in the same order as 1760 // arguments should be consecutive above this, in the same order as
1761 // they are to be pushed onto the stack. 1761 // they are to be pushed onto the stack.
1762 // -- x1 : the target to call (can be any Object). 1762 // -- x1 : the target to call (can be any Object).
1763 1763
1764 // Find the address of the last argument. 1764 // Find the address of the last argument.
1765 __ add(x3, x0, Operand(1)); // Add one for receiver. 1765 __ add(x3, x0, Operand(1)); // Add one for receiver.
1766 __ lsl(x3, x3, kPointerSizeLog2); 1766 __ lsl(x3, x3, kPointerSizeLog2);
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 } 1952 }
1953 } 1953 }
1954 1954
1955 1955
1956 #undef __ 1956 #undef __
1957 1957
1958 } // namespace internal 1958 } // namespace internal
1959 } // namespace v8 1959 } // namespace v8
1960 1960
1961 #endif // V8_TARGET_ARCH_ARM 1961 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/interface-descriptors-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698