| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 | 1443 |
| 1444 // Check to see if number can be stored as a double in FastDoubleElements. | 1444 // Check to see if number can be stored as a double in FastDoubleElements. |
| 1445 // If it can, store it at the index specified by key_reg in the array, | 1445 // If it can, store it at the index specified by key_reg in the array, |
| 1446 // otherwise jump to fail. | 1446 // otherwise jump to fail. |
| 1447 void StoreNumberToDoubleElements(Register value_reg, | 1447 void StoreNumberToDoubleElements(Register value_reg, |
| 1448 Register key_reg, | 1448 Register key_reg, |
| 1449 Register elements_reg, | 1449 Register elements_reg, |
| 1450 Register scratch1, | 1450 Register scratch1, |
| 1451 FPRegister fpscratch1, | 1451 FPRegister fpscratch1, |
| 1452 FPRegister fpscratch2, | 1452 FPRegister fpscratch2, |
| 1453 Label* fail); | 1453 Label* fail, |
| 1454 int elements_offset = 0); |
| 1454 | 1455 |
| 1455 // Picks out an array index from the hash field. | 1456 // Picks out an array index from the hash field. |
| 1456 // Register use: | 1457 // Register use: |
| 1457 // hash - holds the index's hash. Clobbered. | 1458 // hash - holds the index's hash. Clobbered. |
| 1458 // index - holds the overwritten index on exit. | 1459 // index - holds the overwritten index on exit. |
| 1459 void IndexFromHash(Register hash, Register index); | 1460 void IndexFromHash(Register hash, Register index); |
| 1460 | 1461 |
| 1461 // --------------------------------------------------------------------------- | 1462 // --------------------------------------------------------------------------- |
| 1462 // Inline caching support. | 1463 // Inline caching support. |
| 1463 | 1464 |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2184 #error "Unsupported option" | 2185 #error "Unsupported option" |
| 2185 #define CODE_COVERAGE_STRINGIFY(x) #x | 2186 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2186 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2187 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2187 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2188 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2188 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2189 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2189 #else | 2190 #else |
| 2190 #define ACCESS_MASM(masm) masm-> | 2191 #define ACCESS_MASM(masm) masm-> |
| 2191 #endif | 2192 #endif |
| 2192 | 2193 |
| 2193 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2194 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |