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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/frames.h" | 9 #include "src/frames.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 // label if either is not. | 1333 // label if either is not. |
1334 void JumpIfBothInstanceTypesAreNotSequentialOneByte( | 1334 void JumpIfBothInstanceTypesAreNotSequentialOneByte( |
1335 Register first_object_instance_type, Register second_object_instance_type, | 1335 Register first_object_instance_type, Register second_object_instance_type, |
1336 Register scratch1, Register scratch2, Label* failure); | 1336 Register scratch1, Register scratch2, Label* failure); |
1337 | 1337 |
1338 // Check if instance type is sequential one-byte string and jump to label if | 1338 // Check if instance type is sequential one-byte string and jump to label if |
1339 // it is not. | 1339 // it is not. |
1340 void JumpIfInstanceTypeIsNotSequentialOneByte(Register type, Register scratch, | 1340 void JumpIfInstanceTypeIsNotSequentialOneByte(Register type, Register scratch, |
1341 Label* failure); | 1341 Label* failure); |
1342 | 1342 |
1343 void JumpIfNotUniqueName(Register reg, Label* not_unique_name); | 1343 void JumpIfNotUniqueNameInstanceType(Register reg, Label* not_unique_name); |
1344 | 1344 |
1345 void EmitSeqStringSetCharCheck(Register string, | 1345 void EmitSeqStringSetCharCheck(Register string, |
1346 Register index, | 1346 Register index, |
1347 Register value, | 1347 Register value, |
1348 uint32_t encoding_mask); | 1348 uint32_t encoding_mask); |
1349 | 1349 |
1350 // --------------------------------------------------------------------------- | 1350 // --------------------------------------------------------------------------- |
1351 // Patching helpers. | 1351 // Patching helpers. |
1352 | 1352 |
1353 // Get the location of a relocated constant (its address in the constant pool) | 1353 // Get the location of a relocated constant (its address in the constant pool) |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1613 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1613 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1614 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1614 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1615 #else | 1615 #else |
1616 #define ACCESS_MASM(masm) masm-> | 1616 #define ACCESS_MASM(masm) masm-> |
1617 #endif | 1617 #endif |
1618 | 1618 |
1619 | 1619 |
1620 } } // namespace v8::internal | 1620 } } // namespace v8::internal |
1621 | 1621 |
1622 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1622 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |