| 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 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 // label if either is not. | 1547 // label if either is not. |
| 1548 void JumpIfBothInstanceTypesAreNotSequentialOneByte( | 1548 void JumpIfBothInstanceTypesAreNotSequentialOneByte( |
| 1549 Register first_object_instance_type, Register second_object_instance_type, | 1549 Register first_object_instance_type, Register second_object_instance_type, |
| 1550 Register scratch1, Register scratch2, Label* failure); | 1550 Register scratch1, Register scratch2, Label* failure); |
| 1551 | 1551 |
| 1552 // Check if instance type is sequential one-byte string and jump to label if | 1552 // Check if instance type is sequential one-byte string and jump to label if |
| 1553 // it is not. | 1553 // it is not. |
| 1554 void JumpIfInstanceTypeIsNotSequentialOneByte(Register type, Register scratch, | 1554 void JumpIfInstanceTypeIsNotSequentialOneByte(Register type, Register scratch, |
| 1555 Label* failure); | 1555 Label* failure); |
| 1556 | 1556 |
| 1557 void JumpIfNotUniqueName(Register reg, Label* not_unique_name); | 1557 void JumpIfNotUniqueNameInstanceType(Register reg, Label* not_unique_name); |
| 1558 | 1558 |
| 1559 void EmitSeqStringSetCharCheck(Register string, | 1559 void EmitSeqStringSetCharCheck(Register string, |
| 1560 Register index, | 1560 Register index, |
| 1561 Register value, | 1561 Register value, |
| 1562 Register scratch, | 1562 Register scratch, |
| 1563 uint32_t encoding_mask); | 1563 uint32_t encoding_mask); |
| 1564 | 1564 |
| 1565 // Checks if both objects are sequential one-byte strings and jumps to label | 1565 // Checks if both objects are sequential one-byte strings and jumps to label |
| 1566 // if either is not. Assumes that neither object is a smi. | 1566 // if either is not. Assumes that neither object is a smi. |
| 1567 void JumpIfNonSmisNotBothSequentialOneByteStrings(Register first, | 1567 void JumpIfNonSmisNotBothSequentialOneByteStrings(Register first, |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1772 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1772 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1773 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1773 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1774 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1774 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1775 #else | 1775 #else |
| 1776 #define ACCESS_MASM(masm) masm-> | 1776 #define ACCESS_MASM(masm) masm-> |
| 1777 #endif | 1777 #endif |
| 1778 | 1778 |
| 1779 } } // namespace v8::internal | 1779 } } // namespace v8::internal |
| 1780 | 1780 |
| 1781 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1781 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |