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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/frames.h" | 9 #include "src/frames.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 kPointersToHereAreAlwaysInteresting | 23 kPointersToHereAreAlwaysInteresting |
24 }; | 24 }; |
25 | 25 |
26 | 26 |
27 enum RegisterValueType { | 27 enum RegisterValueType { |
28 REGISTER_VALUE_IS_SMI, | 28 REGISTER_VALUE_IS_SMI, |
29 REGISTER_VALUE_IS_INT32 | 29 REGISTER_VALUE_IS_INT32 |
30 }; | 30 }; |
31 | 31 |
32 | 32 |
33 bool AreAliased(Register r1, Register r2, Register r3, Register r4); | 33 #ifdef DEBUG |
| 34 bool AreAliased(Register reg1, |
| 35 Register reg2, |
| 36 Register reg3 = no_reg, |
| 37 Register reg4 = no_reg, |
| 38 Register reg5 = no_reg, |
| 39 Register reg6 = no_reg, |
| 40 Register reg7 = no_reg, |
| 41 Register reg8 = no_reg); |
| 42 #endif |
34 | 43 |
35 | 44 |
36 // MacroAssembler implements a collection of frequently used macros. | 45 // MacroAssembler implements a collection of frequently used macros. |
37 class MacroAssembler: public Assembler { | 46 class MacroAssembler: public Assembler { |
38 public: | 47 public: |
39 // The isolate parameter can be NULL if the macro assembler should | 48 // The isolate parameter can be NULL if the macro assembler should |
40 // not use isolate-dependent functionality. In this case, it's the | 49 // not use isolate-dependent functionality. In this case, it's the |
41 // responsibility of the caller to never invoke such function on the | 50 // responsibility of the caller to never invoke such function on the |
42 // macro assembler. | 51 // macro assembler. |
43 MacroAssembler(Isolate* isolate, void* buffer, int size); | 52 MacroAssembler(Isolate* isolate, void* buffer, int size); |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 } \ | 1091 } \ |
1083 masm-> | 1092 masm-> |
1084 #else | 1093 #else |
1085 #define ACCESS_MASM(masm) masm-> | 1094 #define ACCESS_MASM(masm) masm-> |
1086 #endif | 1095 #endif |
1087 | 1096 |
1088 | 1097 |
1089 } } // namespace v8::internal | 1098 } } // namespace v8::internal |
1090 | 1099 |
1091 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1100 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |