| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 ASSERT(is_near_linked()); | 203 ASSERT(is_near_linked()); |
| 204 } else { | 204 } else { |
| 205 pos_ = pos + 1; | 205 pos_ = pos + 1; |
| 206 ASSERT(is_linked()); | 206 ASSERT(is_linked()); |
| 207 } | 207 } |
| 208 } | 208 } |
| 209 | 209 |
| 210 friend class Assembler; | 210 friend class Assembler; |
| 211 friend class Displacement; | 211 friend class Displacement; |
| 212 friend class RegExpMacroAssemblerIrregexp; | 212 friend class RegExpMacroAssemblerIrregexp; |
| 213 |
| 214 #if V8_TARGET_ARCH_A64 |
| 215 // On A64, the Assembler keeps track of pointers to Labels to resolve branches |
| 216 // to distant targets. Copying labels would confuse the Assembler. |
| 217 DISALLOW_COPY_AND_ASSIGN(Label); // NOLINT |
| 218 #endif |
| 213 }; | 219 }; |
| 214 | 220 |
| 215 | 221 |
| 216 enum SaveFPRegsMode { kDontSaveFPRegs, kSaveFPRegs }; | 222 enum SaveFPRegsMode { kDontSaveFPRegs, kSaveFPRegs }; |
| 217 | 223 |
| 218 | 224 |
| 219 // ----------------------------------------------------------------------------- | 225 // ----------------------------------------------------------------------------- |
| 220 // Relocation information | 226 // Relocation information |
| 221 | 227 |
| 222 | 228 |
| (...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 | 1068 |
| 1063 private: | 1069 private: |
| 1064 int32_t multiplier_; | 1070 int32_t multiplier_; |
| 1065 int32_t shift_; | 1071 int32_t shift_; |
| 1066 }; | 1072 }; |
| 1067 | 1073 |
| 1068 | 1074 |
| 1069 } } // namespace v8::internal | 1075 } } // namespace v8::internal |
| 1070 | 1076 |
| 1071 #endif // V8_ASSEMBLER_H_ | 1077 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |