| 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_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 
| 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1108   }                                                                       \ | 1117   }                                                                       \ | 
| 1109   masm-> | 1118   masm-> | 
| 1110 #else | 1119 #else | 
| 1111 #define ACCESS_MASM(masm) masm-> | 1120 #define ACCESS_MASM(masm) masm-> | 
| 1112 #endif | 1121 #endif | 
| 1113 | 1122 | 
| 1114 | 1123 | 
| 1115 } }  // namespace v8::internal | 1124 } }  // namespace v8::internal | 
| 1116 | 1125 | 
| 1117 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1126 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 
| OLD | NEW | 
|---|