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 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 Register index, | 1347 Register index, |
1348 Register value, | 1348 Register value, |
1349 uint32_t encoding_mask); | 1349 uint32_t encoding_mask); |
1350 | 1350 |
1351 // --------------------------------------------------------------------------- | 1351 // --------------------------------------------------------------------------- |
1352 // Patching helpers. | 1352 // Patching helpers. |
1353 | 1353 |
1354 // Get the location of a relocated constant (its address in the constant pool) | 1354 // Get the location of a relocated constant (its address in the constant pool) |
1355 // from its load site. | 1355 // from its load site. |
1356 void GetRelocatedValueLocation(Register ldr_location, | 1356 void GetRelocatedValueLocation(Register ldr_location, |
1357 Register result); | 1357 Register result, |
| 1358 Register scratch); |
1358 | 1359 |
1359 | 1360 |
1360 void ClampUint8(Register output_reg, Register input_reg); | 1361 void ClampUint8(Register output_reg, Register input_reg); |
1361 | 1362 |
1362 void ClampDoubleToUint8(Register result_reg, | 1363 void ClampDoubleToUint8(Register result_reg, |
1363 DwVfpRegister input_reg, | 1364 DwVfpRegister input_reg, |
1364 LowDwVfpRegister double_scratch); | 1365 LowDwVfpRegister double_scratch); |
1365 | 1366 |
1366 | 1367 |
1367 void LoadInstanceDescriptors(Register map, Register descriptors); | 1368 void LoadInstanceDescriptors(Register map, Register descriptors); |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1615 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1615 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1616 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1616 #else | 1617 #else |
1617 #define ACCESS_MASM(masm) masm-> | 1618 #define ACCESS_MASM(masm) masm-> |
1618 #endif | 1619 #endif |
1619 | 1620 |
1620 | 1621 |
1621 } } // namespace v8::internal | 1622 } } // namespace v8::internal |
1622 | 1623 |
1623 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1624 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |