OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 Register result); | 1274 Register result); |
1275 | 1275 |
1276 | 1276 |
1277 void ClampUint8(Register output_reg, Register input_reg); | 1277 void ClampUint8(Register output_reg, Register input_reg); |
1278 | 1278 |
1279 void ClampDoubleToUint8(Register result_reg, | 1279 void ClampDoubleToUint8(Register result_reg, |
1280 DoubleRegister input_reg, | 1280 DoubleRegister input_reg, |
1281 DoubleRegister temp_double_reg); | 1281 DoubleRegister temp_double_reg); |
1282 | 1282 |
1283 | 1283 |
1284 void LoadInstanceDescriptors(Register map, | 1284 void LoadInstanceDescriptors(Register map, Register descriptors); |
1285 Register descriptors, | |
1286 Register scratch); | |
1287 void EnumLength(Register dst, Register map); | 1285 void EnumLength(Register dst, Register map); |
1288 void NumberOfOwnDescriptors(Register dst, Register map); | 1286 void NumberOfOwnDescriptors(Register dst, Register map); |
1289 | 1287 |
1290 template<typename Field> | 1288 template<typename Field> |
1291 void DecodeField(Register reg) { | 1289 void DecodeField(Register reg) { |
1292 static const int shift = Field::kShift; | 1290 static const int shift = Field::kShift; |
1293 static const int mask = (Field::kMask >> shift) << kSmiTagSize; | 1291 static const int mask = (Field::kMask >> shift) << kSmiTagSize; |
1294 mov(reg, Operand(reg, LSR, shift)); | 1292 mov(reg, Operand(reg, LSR, shift)); |
1295 and_(reg, reg, Operand(mask)); | 1293 and_(reg, reg, Operand(mask)); |
1296 } | 1294 } |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1409 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1412 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1410 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1413 #else | 1411 #else |
1414 #define ACCESS_MASM(masm) masm-> | 1412 #define ACCESS_MASM(masm) masm-> |
1415 #endif | 1413 #endif |
1416 | 1414 |
1417 | 1415 |
1418 } } // namespace v8::internal | 1416 } } // namespace v8::internal |
1419 | 1417 |
1420 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1418 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |