| OLD | NEW | 
|     1 // Copyright 2013 the V8 project authors. All rights reserved. |     1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ |     5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 
|     6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |     6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 
|     7  |     7  | 
|     8 #include <vector> |     8 #include <vector> | 
|     9  |     9  | 
|    10 #include "src/bailout-reason.h" |    10 #include "src/bailout-reason.h" | 
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   874  |   874  | 
|   875   // This is required for compatibility with architecture independant code. |   875   // This is required for compatibility with architecture independant code. | 
|   876   // Remove if not needed. |   876   // Remove if not needed. | 
|   877   inline void Move(Register dst, Register src) { Mov(dst, src); } |   877   inline void Move(Register dst, Register src) { Mov(dst, src); } | 
|   878  |   878  | 
|   879   void LoadInstanceDescriptors(Register map, |   879   void LoadInstanceDescriptors(Register map, | 
|   880                                Register descriptors); |   880                                Register descriptors); | 
|   881   void EnumLengthUntagged(Register dst, Register map); |   881   void EnumLengthUntagged(Register dst, Register map); | 
|   882   void EnumLengthSmi(Register dst, Register map); |   882   void EnumLengthSmi(Register dst, Register map); | 
|   883   void NumberOfOwnDescriptors(Register dst, Register map); |   883   void NumberOfOwnDescriptors(Register dst, Register map); | 
 |   884   void LoadAccessor(Register dst, Register holder, int accessor_index, | 
 |   885                     AccessorComponent accessor); | 
|   884  |   886  | 
|   885   template<typename Field> |   887   template<typename Field> | 
|   886   void DecodeField(Register dst, Register src) { |   888   void DecodeField(Register dst, Register src) { | 
|   887     static const uint64_t shift = Field::kShift; |   889     static const uint64_t shift = Field::kShift; | 
|   888     static const uint64_t setbits = CountSetBits(Field::kMask, 32); |   890     static const uint64_t setbits = CountSetBits(Field::kMask, 32); | 
|   889     Ubfx(dst, src, shift, setbits); |   891     Ubfx(dst, src, shift, setbits); | 
|   890   } |   892   } | 
|   891  |   893  | 
|   892   template<typename Field> |   894   template<typename Field> | 
|   893   void DecodeField(Register reg) { |   895   void DecodeField(Register reg) { | 
| (...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2313 #error "Unsupported option" |  2315 #error "Unsupported option" | 
|  2314 #define CODE_COVERAGE_STRINGIFY(x) #x |  2316 #define CODE_COVERAGE_STRINGIFY(x) #x | 
|  2315 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |  2317 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 
|  2316 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |  2318 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 
|  2317 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |  2319 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 
|  2318 #else |  2320 #else | 
|  2319 #define ACCESS_MASM(masm) masm-> |  2321 #define ACCESS_MASM(masm) masm-> | 
|  2320 #endif |  2322 #endif | 
|  2321  |  2323  | 
|  2322 #endif  // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |  2324 #endif  // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 
| OLD | NEW |