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

Unified Diff: src/arm64/macro-assembler-arm64.cc

Issue 2106113002: Revert of [builtins] New frame type for exits to C++ builtins (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm64/macro-assembler-arm64.h ('k') | src/builtins.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/macro-assembler-arm64.cc
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc
index ac7d799fddf6f118100dc703703b8485404a7c0a..5f1e5c3795948bc5c8e17974f0998d35d7c0b932 100644
--- a/src/arm64/macro-assembler-arm64.cc
+++ b/src/arm64/macro-assembler-arm64.cc
@@ -1759,13 +1759,13 @@
CallStub(&stub);
}
-void MacroAssembler::JumpToExternalReference(const ExternalReference& builtin,
- bool builtin_exit_frame) {
+
+void MacroAssembler::JumpToExternalReference(const ExternalReference& builtin) {
Mov(x1, builtin);
- CEntryStub stub(isolate(), 1, kDontSaveFPRegs, kArgvOnStack,
- builtin_exit_frame);
+ CEntryStub stub(isolate(), 1);
Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
}
+
void MacroAssembler::TailCallRuntime(Runtime::FunctionId fid) {
const Runtime::Function* function = Runtime::FunctionForId(fid);
@@ -2823,17 +2823,16 @@
}
}
-void MacroAssembler::EnterExitFrame(bool save_doubles, const Register& scratch,
- int extra_space,
- StackFrame::Type frame_type) {
+
+void MacroAssembler::EnterExitFrame(bool save_doubles,
+ const Register& scratch,
+ int extra_space) {
DCHECK(jssp.Is(StackPointer()));
- DCHECK(frame_type == StackFrame::EXIT ||
- frame_type == StackFrame::BUILTIN_EXIT);
// Set up the new stack frame.
Push(lr, fp);
Mov(fp, StackPointer());
- Mov(scratch, Smi::FromInt(frame_type));
+ Mov(scratch, Smi::FromInt(StackFrame::EXIT));
Push(scratch);
Push(xzr);
Mov(scratch, Operand(CodeObject()));
« no previous file with comments | « src/arm64/macro-assembler-arm64.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698