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

Side by Side Diff: src/arm/macro-assembler-arm.h

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, 5 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/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 DwVfpRegister double_scratch0, 583 DwVfpRegister double_scratch0,
584 LowDwVfpRegister double_scratch1, 584 LowDwVfpRegister double_scratch1,
585 Label* not_int32); 585 Label* not_int32);
586 586
587 // Generates function and stub prologue code. 587 // Generates function and stub prologue code.
588 void StubPrologue(StackFrame::Type type); 588 void StubPrologue(StackFrame::Type type);
589 void Prologue(bool code_pre_aging); 589 void Prologue(bool code_pre_aging);
590 590
591 // Enter exit frame. 591 // Enter exit frame.
592 // stack_space - extra stack space, used for alignment before call to C. 592 // stack_space - extra stack space, used for alignment before call to C.
593 void EnterExitFrame(bool save_doubles, int stack_space = 0, 593 void EnterExitFrame(bool save_doubles, int stack_space = 0);
594 StackFrame::Type frame_type = StackFrame::EXIT);
595 594
596 // Leave the current exit frame. Expects the return value in r0. 595 // Leave the current exit frame. Expects the return value in r0.
597 // Expect the number of values, pushed prior to the exit frame, to 596 // Expect the number of values, pushed prior to the exit frame, to
598 // remove in a register (or no_reg, if there is nothing to remove). 597 // remove in a register (or no_reg, if there is nothing to remove).
599 void LeaveExitFrame(bool save_doubles, Register argument_count, 598 void LeaveExitFrame(bool save_doubles, Register argument_count,
600 bool restore_context, 599 bool restore_context,
601 bool argument_count_is_length = false); 600 bool argument_count_is_length = false);
602 601
603 // Get the actual activation frame alignment for target environment. 602 // Get the actual activation frame alignment for target environment.
604 static int ActivationFrameAlignment(); 603 static int ActivationFrameAlignment();
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 int num_reg_arguments, 1159 int num_reg_arguments,
1161 int num_double_arguments); 1160 int num_double_arguments);
1162 void CallCFunction(Register function, 1161 void CallCFunction(Register function,
1163 int num_reg_arguments, 1162 int num_reg_arguments,
1164 int num_double_arguments); 1163 int num_double_arguments);
1165 1164
1166 void MovFromFloatParameter(DwVfpRegister dst); 1165 void MovFromFloatParameter(DwVfpRegister dst);
1167 void MovFromFloatResult(DwVfpRegister dst); 1166 void MovFromFloatResult(DwVfpRegister dst);
1168 1167
1169 // Jump to a runtime routine. 1168 // Jump to a runtime routine.
1170 void JumpToExternalReference(const ExternalReference& builtin, 1169 void JumpToExternalReference(const ExternalReference& builtin);
1171 bool builtin_exit_frame = false);
1172 1170
1173 Handle<Object> CodeObject() { 1171 Handle<Object> CodeObject() {
1174 DCHECK(!code_object_.is_null()); 1172 DCHECK(!code_object_.is_null());
1175 return code_object_; 1173 return code_object_;
1176 } 1174 }
1177 1175
1178 1176
1179 // Emit code for a truncating division by a constant. The dividend register is 1177 // Emit code for a truncating division by a constant. The dividend register is
1180 // unchanged and ip gets clobbered. Dividend and result must be different. 1178 // unchanged and ip gets clobbered. Dividend and result must be different.
1181 void TruncatingDiv(Register result, Register dividend, int32_t divisor); 1179 void TruncatingDiv(Register result, Register dividend, int32_t divisor);
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1576 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1579 #else 1577 #else
1580 #define ACCESS_MASM(masm) masm-> 1578 #define ACCESS_MASM(masm) masm->
1581 #endif 1579 #endif
1582 1580
1583 1581
1584 } // namespace internal 1582 } // namespace internal
1585 } // namespace v8 1583 } // namespace v8
1586 1584
1587 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698