OLD | NEW |
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 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1635 // Frames. | 1635 // Frames. |
1636 | 1636 |
1637 // Load the type feedback vector from a JavaScript frame. | 1637 // Load the type feedback vector from a JavaScript frame. |
1638 void EmitLoadTypeFeedbackVector(Register vector); | 1638 void EmitLoadTypeFeedbackVector(Register vector); |
1639 | 1639 |
1640 // Activation support. | 1640 // Activation support. |
1641 void EnterFrame(StackFrame::Type type); | 1641 void EnterFrame(StackFrame::Type type); |
1642 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1642 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1643 void LeaveFrame(StackFrame::Type type); | 1643 void LeaveFrame(StackFrame::Type type); |
1644 | 1644 |
| 1645 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 1646 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 1647 |
1645 // Returns map with validated enum cache in object register. | 1648 // Returns map with validated enum cache in object register. |
1646 void CheckEnumCache(Register object, Register scratch0, Register scratch1, | 1649 void CheckEnumCache(Register object, Register scratch0, Register scratch1, |
1647 Register scratch2, Register scratch3, Register scratch4, | 1650 Register scratch2, Register scratch3, Register scratch4, |
1648 Label* call_runtime); | 1651 Label* call_runtime); |
1649 | 1652 |
1650 // AllocationMemento support. Arrays may have an associated | 1653 // AllocationMemento support. Arrays may have an associated |
1651 // AllocationMemento object that can be checked for in order to pretransition | 1654 // AllocationMemento object that can be checked for in order to pretransition |
1652 // to another type. | 1655 // to another type. |
1653 // On entry, receiver should point to the array object. | 1656 // On entry, receiver should point to the array object. |
1654 // If allocation info is present, the Z flag is set (so that the eq | 1657 // If allocation info is present, the Z flag is set (so that the eq |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2313 #error "Unsupported option" | 2316 #error "Unsupported option" |
2314 #define CODE_COVERAGE_STRINGIFY(x) #x | 2317 #define CODE_COVERAGE_STRINGIFY(x) #x |
2315 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2318 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2316 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2319 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2317 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2320 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2318 #else | 2321 #else |
2319 #define ACCESS_MASM(masm) masm-> | 2322 #define ACCESS_MASM(masm) masm-> |
2320 #endif | 2323 #endif |
2321 | 2324 |
2322 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2325 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |