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

Side by Side Diff: src/mips64/macro-assembler-mips64.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/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 Register scratch1, 1057 Register scratch1,
1058 Register scratch2, 1058 Register scratch2,
1059 FPURegister double_scratch0, 1059 FPURegister double_scratch0,
1060 FPURegister double_scratch1, 1060 FPURegister double_scratch1,
1061 Label* not_int32); 1061 Label* not_int32);
1062 1062
1063 // Enter exit frame. 1063 // Enter exit frame.
1064 // argc - argument count to be dropped by LeaveExitFrame. 1064 // argc - argument count to be dropped by LeaveExitFrame.
1065 // save_doubles - saves FPU registers on stack, currently disabled. 1065 // save_doubles - saves FPU registers on stack, currently disabled.
1066 // stack_space - extra stack space. 1066 // stack_space - extra stack space.
1067 void EnterExitFrame(bool save_doubles, int stack_space = 0, 1067 void EnterExitFrame(bool save_doubles,
1068 StackFrame::Type frame_type = StackFrame::EXIT); 1068 int stack_space = 0);
1069 1069
1070 // Leave the current exit frame. 1070 // Leave the current exit frame.
1071 void LeaveExitFrame(bool save_doubles, Register arg_count, 1071 void LeaveExitFrame(bool save_doubles, Register arg_count,
1072 bool restore_context, bool do_return = NO_EMIT_RETURN, 1072 bool restore_context, bool do_return = NO_EMIT_RETURN,
1073 bool argument_count_is_length = false); 1073 bool argument_count_is_length = false);
1074 1074
1075 // Get the actual activation frame alignment for target environment. 1075 // Get the actual activation frame alignment for target environment.
1076 static int ActivationFrameAlignment(); 1076 static int ActivationFrameAlignment();
1077 1077
1078 // Make sure the stack is aligned. Only emits code in debug mode. 1078 // Make sure the stack is aligned. Only emits code in debug mode.
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 // There are two ways of passing double arguments on MIPS, depending on 1541 // There are two ways of passing double arguments on MIPS, depending on
1542 // whether soft or hard floating point ABI is used. These functions 1542 // whether soft or hard floating point ABI is used. These functions
1543 // abstract parameter passing for the three different ways we call 1543 // abstract parameter passing for the three different ways we call
1544 // C functions from generated code. 1544 // C functions from generated code.
1545 void MovToFloatParameter(DoubleRegister src); 1545 void MovToFloatParameter(DoubleRegister src);
1546 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2); 1546 void MovToFloatParameters(DoubleRegister src1, DoubleRegister src2);
1547 void MovToFloatResult(DoubleRegister src); 1547 void MovToFloatResult(DoubleRegister src);
1548 1548
1549 // Jump to the builtin routine. 1549 // Jump to the builtin routine.
1550 void JumpToExternalReference(const ExternalReference& builtin, 1550 void JumpToExternalReference(const ExternalReference& builtin,
1551 BranchDelaySlot bd = PROTECT, 1551 BranchDelaySlot bd = PROTECT);
1552 bool builtin_exit_frame = false);
1553 1552
1554 struct Unresolved { 1553 struct Unresolved {
1555 int pc; 1554 int pc;
1556 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders. 1555 uint32_t flags; // See Bootstrapper::FixupFlags decoders/encoders.
1557 const char* name; 1556 const char* name;
1558 }; 1557 };
1559 1558
1560 Handle<Object> CodeObject() { 1559 Handle<Object> CodeObject() {
1561 DCHECK(!code_object_.is_null()); 1560 DCHECK(!code_object_.is_null());
1562 return code_object_; 1561 return code_object_;
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2041 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2043 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2042 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2044 #else 2043 #else
2045 #define ACCESS_MASM(masm) masm-> 2044 #define ACCESS_MASM(masm) masm->
2046 #endif 2045 #endif
2047 2046
2048 } // namespace internal 2047 } // namespace internal
2049 } // namespace v8 2048 } // namespace v8
2050 2049
2051 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 2050 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698