| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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/frames.h" | 10 #include "src/frames.h" |
| (...skipping 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1657 | 1657 |
| 1658 inline MemOperand ContextMemOperand(Register context, int index = 0) { | 1658 inline MemOperand ContextMemOperand(Register context, int index = 0) { |
| 1659 return MemOperand(context, Context::SlotOffset(index)); | 1659 return MemOperand(context, Context::SlotOffset(index)); |
| 1660 } | 1660 } |
| 1661 | 1661 |
| 1662 | 1662 |
| 1663 inline MemOperand NativeContextMemOperand() { | 1663 inline MemOperand NativeContextMemOperand() { |
| 1664 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1664 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1665 } | 1665 } |
| 1666 | 1666 |
| 1667 #define ACCESS_MASM(masm) masm-> |
| 1667 | 1668 |
| 1668 #ifdef GENERATED_CODE_COVERAGE | |
| 1669 #define CODE_COVERAGE_STRINGIFY(x) #x | |
| 1670 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | |
| 1671 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | |
| 1672 #define ACCESS_MASM(masm) \ | |
| 1673 masm->stop(__FILE_LINE__); \ | |
| 1674 masm-> | |
| 1675 #else | |
| 1676 #define ACCESS_MASM(masm) masm-> | |
| 1677 #endif | |
| 1678 } // namespace internal | 1669 } // namespace internal |
| 1679 } // namespace v8 | 1670 } // namespace v8 |
| 1680 | 1671 |
| 1681 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1672 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |