Chromium Code Reviews| 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 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1466 // Picks out an array index from the hash field. | 1466 // Picks out an array index from the hash field. |
| 1467 // Register use: | 1467 // Register use: |
| 1468 // hash - holds the index's hash. Clobbered. | 1468 // hash - holds the index's hash. Clobbered. |
| 1469 // index - holds the overwritten index on exit. | 1469 // index - holds the overwritten index on exit. |
| 1470 void IndexFromHash(Register hash, Register index); | 1470 void IndexFromHash(Register hash, Register index); |
| 1471 | 1471 |
| 1472 // --------------------------------------------------------------------------- | 1472 // --------------------------------------------------------------------------- |
| 1473 // Inline caching support. | 1473 // Inline caching support. |
| 1474 | 1474 |
| 1475 void EmitSeqStringSetCharCheck(Register string, | 1475 void EmitSeqStringSetCharCheck(Register string, |
| 1476 Register index, // Smi | 1476 Register index, |
| 1477 Register scratch, | |
|
ulan
2014/02/06 14:23:43
This is different from arm port, which takes value
| |
| 1477 uint32_t encoding_mask); | 1478 uint32_t encoding_mask); |
| 1478 | 1479 |
| 1479 // Generate code for checking access rights - used for security checks | 1480 // Generate code for checking access rights - used for security checks |
| 1480 // on access to global objects across environments. The holder register | 1481 // on access to global objects across environments. The holder register |
| 1481 // is left untouched, whereas both scratch registers are clobbered. | 1482 // is left untouched, whereas both scratch registers are clobbered. |
| 1482 void CheckAccessGlobalProxy(Register holder_reg, | 1483 void CheckAccessGlobalProxy(Register holder_reg, |
| 1483 Register scratch, | 1484 Register scratch, |
| 1484 Label* miss); | 1485 Label* miss); |
| 1485 | 1486 |
| 1486 // Hash the interger value in 'key' register. | 1487 // Hash the interger value in 'key' register. |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2195 #error "Unsupported option" | 2196 #error "Unsupported option" |
| 2196 #define CODE_COVERAGE_STRINGIFY(x) #x | 2197 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2197 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2198 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2198 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2199 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2199 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2200 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2200 #else | 2201 #else |
| 2201 #define ACCESS_MASM(masm) masm-> | 2202 #define ACCESS_MASM(masm) masm-> |
| 2202 #endif | 2203 #endif |
| 2203 | 2204 |
| 2204 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2205 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |