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 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1576 | 1576 |
1577 // Load the type feedback vector from a JavaScript frame. | 1577 // Load the type feedback vector from a JavaScript frame. |
1578 void EmitLoadTypeFeedbackVector(Register vector); | 1578 void EmitLoadTypeFeedbackVector(Register vector); |
1579 | 1579 |
1580 // Activation support. | 1580 // Activation support. |
1581 void EnterFrame(StackFrame::Type type); | 1581 void EnterFrame(StackFrame::Type type); |
1582 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1582 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1583 void LeaveFrame(StackFrame::Type type); | 1583 void LeaveFrame(StackFrame::Type type); |
1584 | 1584 |
1585 // Returns map with validated enum cache in object register. | 1585 // Returns map with validated enum cache in object register. |
1586 void CheckEnumCache(Register object, | 1586 void CheckEnumCache(Register object, Register scratch0, Register scratch1, |
1587 Register null_value, | 1587 Register scratch2, Register scratch3, Register scratch4, |
1588 Register scratch0, | |
1589 Register scratch1, | |
1590 Register scratch2, | |
1591 Register scratch3, | |
1592 Label* call_runtime); | 1588 Label* call_runtime); |
1593 | 1589 |
1594 // AllocationMemento support. Arrays may have an associated | 1590 // AllocationMemento support. Arrays may have an associated |
1595 // AllocationMemento object that can be checked for in order to pretransition | 1591 // AllocationMemento object that can be checked for in order to pretransition |
1596 // to another type. | 1592 // to another type. |
1597 // On entry, receiver should point to the array object. | 1593 // On entry, receiver should point to the array object. |
1598 // If allocation info is present, the Z flag is set (so that the eq | 1594 // If allocation info is present, the Z flag is set (so that the eq |
1599 // condition will pass). | 1595 // condition will pass). |
1600 void TestJSArrayForAllocationMemento(Register receiver, | 1596 void TestJSArrayForAllocationMemento(Register receiver, |
1601 Register scratch1, | 1597 Register scratch1, |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2249 #error "Unsupported option" | 2245 #error "Unsupported option" |
2250 #define CODE_COVERAGE_STRINGIFY(x) #x | 2246 #define CODE_COVERAGE_STRINGIFY(x) #x |
2251 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2247 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
2252 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2248 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2253 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2249 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2254 #else | 2250 #else |
2255 #define ACCESS_MASM(masm) masm-> | 2251 #define ACCESS_MASM(masm) masm-> |
2256 #endif | 2252 #endif |
2257 | 2253 |
2258 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2254 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |