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

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

Issue 1696043002: [runtime] Unify and simplify how frames are marked (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: All platforms Created 4 years, 9 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
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 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 1604 matching lines...) Expand 10 before | Expand all | Expand 10 after
1615 Bind(&no_memento_found); 1615 Bind(&no_memento_found);
1616 } 1616 }
1617 1617
1618 // The stack pointer has to switch between csp and jssp when setting up and 1618 // The stack pointer has to switch between csp and jssp when setting up and
1619 // destroying the exit frame. Hence preserving/restoring the registers is 1619 // destroying the exit frame. Hence preserving/restoring the registers is
1620 // slightly more complicated than simple push/pop operations. 1620 // slightly more complicated than simple push/pop operations.
1621 void ExitFramePreserveFPRegs(); 1621 void ExitFramePreserveFPRegs();
1622 void ExitFrameRestoreFPRegs(); 1622 void ExitFrameRestoreFPRegs();
1623 1623
1624 // Generates function and stub prologue code. 1624 // Generates function and stub prologue code.
1625 void StubPrologue(); 1625 void StubPrologue(StackFrame::Type type, int frame_slots);
1626 void Prologue(bool code_pre_aging); 1626 void Prologue(bool code_pre_aging);
1627 1627
1628 // Enter exit frame. Exit frames are used when calling C code from generated 1628 // Enter exit frame. Exit frames are used when calling C code from generated
1629 // (JavaScript) code. 1629 // (JavaScript) code.
1630 // 1630 //
1631 // The stack pointer must be jssp on entry, and will be set to csp by this 1631 // The stack pointer must be jssp on entry, and will be set to csp by this
1632 // function. The frame pointer is also configured, but the only other 1632 // function. The frame pointer is also configured, but the only other
1633 // registers modified by this function are the provided scratch register, and 1633 // registers modified by this function are the provided scratch register, and
1634 // jssp. 1634 // jssp.
1635 // 1635 //
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
2259 #error "Unsupported option" 2259 #error "Unsupported option"
2260 #define CODE_COVERAGE_STRINGIFY(x) #x 2260 #define CODE_COVERAGE_STRINGIFY(x) #x
2261 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2261 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2262 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2262 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2263 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2263 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2264 #else 2264 #else
2265 #define ACCESS_MASM(masm) masm-> 2265 #define ACCESS_MASM(masm) masm->
2266 #endif 2266 #endif
2267 2267
2268 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2268 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698