OLD | NEW |
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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" | 10 #include "src/base/flags.h" |
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1534 // Load the type feedback vector from a JavaScript frame. | 1534 // Load the type feedback vector from a JavaScript frame. |
1535 void EmitLoadTypeFeedbackVector(Register vector); | 1535 void EmitLoadTypeFeedbackVector(Register vector); |
1536 | 1536 |
1537 // Activation support. | 1537 // Activation support. |
1538 void EnterFrame(StackFrame::Type type); | 1538 void EnterFrame(StackFrame::Type type); |
1539 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1539 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
1540 void LeaveFrame(StackFrame::Type type); | 1540 void LeaveFrame(StackFrame::Type type); |
1541 | 1541 |
1542 // Expects object in rax and returns map with validated enum cache | 1542 // Expects object in rax and returns map with validated enum cache |
1543 // in rax. Assumes that any other register can be used as a scratch. | 1543 // in rax. Assumes that any other register can be used as a scratch. |
1544 void CheckEnumCache(Register null_value, | 1544 void CheckEnumCache(Label* call_runtime); |
1545 Label* call_runtime); | |
1546 | 1545 |
1547 // AllocationMemento support. Arrays may have an associated | 1546 // AllocationMemento support. Arrays may have an associated |
1548 // AllocationMemento object that can be checked for in order to pretransition | 1547 // AllocationMemento object that can be checked for in order to pretransition |
1549 // to another type. | 1548 // to another type. |
1550 // On entry, receiver_reg should point to the array object. | 1549 // On entry, receiver_reg should point to the array object. |
1551 // scratch_reg gets clobbered. | 1550 // scratch_reg gets clobbered. |
1552 // If allocation info is present, condition flags are set to equal. | 1551 // If allocation info is present, condition flags are set to equal. |
1553 void TestJSArrayForAllocationMemento(Register receiver_reg, | 1552 void TestJSArrayForAllocationMemento(Register receiver_reg, |
1554 Register scratch_reg, | 1553 Register scratch_reg, |
1555 Label* no_memento_found); | 1554 Label* no_memento_found); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1740 } \ | 1739 } \ |
1741 masm-> | 1740 masm-> |
1742 #else | 1741 #else |
1743 #define ACCESS_MASM(masm) masm-> | 1742 #define ACCESS_MASM(masm) masm-> |
1744 #endif | 1743 #endif |
1745 | 1744 |
1746 } // namespace internal | 1745 } // namespace internal |
1747 } // namespace v8 | 1746 } // namespace v8 |
1748 | 1747 |
1749 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |