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/arm64/assembler-arm64.h" | 10 #include "src/arm64/assembler-arm64.h" |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 // If it can, store it at the index specified by key_reg in the array, | 1584 // If it can, store it at the index specified by key_reg in the array, |
1585 // otherwise jump to fail. | 1585 // otherwise jump to fail. |
1586 void StoreNumberToDoubleElements(Register value_reg, | 1586 void StoreNumberToDoubleElements(Register value_reg, |
1587 Register key_reg, | 1587 Register key_reg, |
1588 Register elements_reg, | 1588 Register elements_reg, |
1589 Register scratch1, | 1589 Register scratch1, |
1590 FPRegister fpscratch1, | 1590 FPRegister fpscratch1, |
1591 Label* fail, | 1591 Label* fail, |
1592 int elements_offset = 0); | 1592 int elements_offset = 0); |
1593 | 1593 |
1594 // Picks out an array index from the hash field. | |
1595 // Register use: | |
1596 // hash - holds the index's hash. Clobbered. | |
1597 // index - holds the overwritten index on exit. | |
1598 void IndexFromHash(Register hash, Register index); | |
1599 | |
1600 // --------------------------------------------------------------------------- | 1594 // --------------------------------------------------------------------------- |
1601 // Inline caching support. | 1595 // Inline caching support. |
1602 | 1596 |
1603 void EmitSeqStringSetCharCheck(Register string, | 1597 void EmitSeqStringSetCharCheck(Register string, |
1604 Register index, | 1598 Register index, |
1605 SeqStringSetCharCheckIndexType index_type, | 1599 SeqStringSetCharCheckIndexType index_type, |
1606 Register scratch, | 1600 Register scratch, |
1607 uint32_t encoding_mask); | 1601 uint32_t encoding_mask); |
1608 | 1602 |
1609 // Generate code for checking access rights - used for security checks | 1603 // Generate code for checking access rights - used for security checks |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2295 class RegisterBits : public BitField<unsigned, 0, 5> {}; | 2289 class RegisterBits : public BitField<unsigned, 0, 5> {}; |
2296 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; | 2290 class DeltaBits : public BitField<uint32_t, 5, 32-5> {}; |
2297 }; | 2291 }; |
2298 | 2292 |
2299 } // namespace internal | 2293 } // namespace internal |
2300 } // namespace v8 | 2294 } // namespace v8 |
2301 | 2295 |
2302 #define ACCESS_MASM(masm) masm-> | 2296 #define ACCESS_MASM(masm) masm-> |
2303 | 2297 |
2304 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ | 2298 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ |
OLD | NEW |