| 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_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
| (...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1584 void ClampUint8(Register output_reg, Register input_reg); | 1584 void ClampUint8(Register output_reg, Register input_reg); |
| 1585 | 1585 |
| 1586 void ClampDoubleToUint8(Register result_reg, | 1586 void ClampDoubleToUint8(Register result_reg, |
| 1587 DoubleRegister input_reg, | 1587 DoubleRegister input_reg, |
| 1588 DoubleRegister temp_double_reg); | 1588 DoubleRegister temp_double_reg); |
| 1589 | 1589 |
| 1590 | 1590 |
| 1591 void LoadInstanceDescriptors(Register map, Register descriptors); | 1591 void LoadInstanceDescriptors(Register map, Register descriptors); |
| 1592 void EnumLength(Register dst, Register map); | 1592 void EnumLength(Register dst, Register map); |
| 1593 void NumberOfOwnDescriptors(Register dst, Register map); | 1593 void NumberOfOwnDescriptors(Register dst, Register map); |
| 1594 void LoadAccessor(Register dst, Register holder, int accessor_index, |
| 1595 AccessorComponent accessor); |
| 1594 | 1596 |
| 1595 template<typename Field> | 1597 template<typename Field> |
| 1596 void DecodeField(Register dst, Register src) { | 1598 void DecodeField(Register dst, Register src) { |
| 1597 Ext(dst, src, Field::kShift, Field::kSize); | 1599 Ext(dst, src, Field::kShift, Field::kSize); |
| 1598 } | 1600 } |
| 1599 | 1601 |
| 1600 template<typename Field> | 1602 template<typename Field> |
| 1601 void DecodeField(Register reg) { | 1603 void DecodeField(Register reg) { |
| 1602 DecodeField<Field>(reg, reg); | 1604 DecodeField<Field>(reg, reg); |
| 1603 } | 1605 } |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1778 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1780 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1779 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1781 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1780 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1782 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1781 #else | 1783 #else |
| 1782 #define ACCESS_MASM(masm) masm-> | 1784 #define ACCESS_MASM(masm) masm-> |
| 1783 #endif | 1785 #endif |
| 1784 | 1786 |
| 1785 } } // namespace v8::internal | 1787 } } // namespace v8::internal |
| 1786 | 1788 |
| 1787 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1789 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |