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 "src/assembler.h" |
9 #include "frames.h" | 9 #include "src/frames.h" |
10 #include "globals.h" | 10 #include "src/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 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1595 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1595 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1596 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1596 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1597 #else | 1597 #else |
1598 #define ACCESS_MASM(masm) masm-> | 1598 #define ACCESS_MASM(masm) masm-> |
1599 #endif | 1599 #endif |
1600 | 1600 |
1601 | 1601 |
1602 } } // namespace v8::internal | 1602 } } // namespace v8::internal |
1603 | 1603 |
1604 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1604 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |