| 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 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1568 } | 1568 } |
| 1569 | 1569 |
| 1570 // Load the type feedback vector from a JavaScript frame. | 1570 // Load the type feedback vector from a JavaScript frame. |
| 1571 void EmitLoadTypeFeedbackVector(Register vector); | 1571 void EmitLoadTypeFeedbackVector(Register vector); |
| 1572 | 1572 |
| 1573 // Activation support. | 1573 // Activation support. |
| 1574 void EnterFrame(StackFrame::Type type); | 1574 void EnterFrame(StackFrame::Type type); |
| 1575 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); | 1575 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); |
| 1576 void LeaveFrame(StackFrame::Type type); | 1576 void LeaveFrame(StackFrame::Type type); |
| 1577 | 1577 |
| 1578 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 1579 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 1580 |
| 1578 // Expects object in rax and returns map with validated enum cache | 1581 // Expects object in rax and returns map with validated enum cache |
| 1579 // in rax. Assumes that any other register can be used as a scratch. | 1582 // in rax. Assumes that any other register can be used as a scratch. |
| 1580 void CheckEnumCache(Label* call_runtime); | 1583 void CheckEnumCache(Label* call_runtime); |
| 1581 | 1584 |
| 1582 // AllocationMemento support. Arrays may have an associated | 1585 // AllocationMemento support. Arrays may have an associated |
| 1583 // AllocationMemento object that can be checked for in order to pretransition | 1586 // AllocationMemento object that can be checked for in order to pretransition |
| 1584 // to another type. | 1587 // to another type. |
| 1585 // On entry, receiver_reg should point to the array object. | 1588 // On entry, receiver_reg should point to the array object. |
| 1586 // scratch_reg gets clobbered. | 1589 // scratch_reg gets clobbered. |
| 1587 // If allocation info is present, condition flags are set to equal. | 1590 // If allocation info is present, condition flags are set to equal. |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1775 } \ | 1778 } \ |
| 1776 masm-> | 1779 masm-> |
| 1777 #else | 1780 #else |
| 1778 #define ACCESS_MASM(masm) masm-> | 1781 #define ACCESS_MASM(masm) masm-> |
| 1779 #endif | 1782 #endif |
| 1780 | 1783 |
| 1781 } // namespace internal | 1784 } // namespace internal |
| 1782 } // namespace v8 | 1785 } // namespace v8 |
| 1783 | 1786 |
| 1784 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1787 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |