| 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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1566 | 1566 |
| 1567 inline MemOperand ContextMemOperand(Register context, int index = 0) { | 1567 inline MemOperand ContextMemOperand(Register context, int index = 0) { |
| 1568 return MemOperand(context, Context::SlotOffset(index)); | 1568 return MemOperand(context, Context::SlotOffset(index)); |
| 1569 } | 1569 } |
| 1570 | 1570 |
| 1571 | 1571 |
| 1572 inline MemOperand NativeContextMemOperand() { | 1572 inline MemOperand NativeContextMemOperand() { |
| 1573 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1573 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1574 } | 1574 } |
| 1575 | 1575 |
| 1576 | |
| 1577 #ifdef GENERATED_CODE_COVERAGE | |
| 1578 #define CODE_COVERAGE_STRINGIFY(x) #x | |
| 1579 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | |
| 1580 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | |
| 1581 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | |
| 1582 #else | |
| 1583 #define ACCESS_MASM(masm) masm-> | 1576 #define ACCESS_MASM(masm) masm-> |
| 1584 #endif | |
| 1585 | |
| 1586 | 1577 |
| 1587 } // namespace internal | 1578 } // namespace internal |
| 1588 } // namespace v8 | 1579 } // namespace v8 |
| 1589 | 1580 |
| 1590 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1581 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |