| 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 "assembler.h" | 8 #include "assembler.h" |
| 9 #include "frames.h" | 9 #include "frames.h" |
| 10 #include "v8globals.h" | 10 #include "globals.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // ---------------------------------------------------------------------------- | 15 // ---------------------------------------------------------------------------- |
| 16 // Static helper functions | 16 // Static helper functions |
| 17 | 17 |
| 18 // Generate a MemOperand for loading a field from an object. | 18 // Generate a MemOperand for loading a field from an object. |
| 19 inline MemOperand FieldMemOperand(Register object, int offset) { | 19 inline MemOperand FieldMemOperand(Register object, int offset) { |
| 20 return MemOperand(object, offset - kHeapObjectTag); | 20 return MemOperand(object, offset - kHeapObjectTag); |
| (...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1585 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1585 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1586 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1586 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1587 #else | 1587 #else |
| 1588 #define ACCESS_MASM(masm) masm-> | 1588 #define ACCESS_MASM(masm) masm-> |
| 1589 #endif | 1589 #endif |
| 1590 | 1590 |
| 1591 | 1591 |
| 1592 } } // namespace v8::internal | 1592 } } // namespace v8::internal |
| 1593 | 1593 |
| 1594 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1594 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |