| 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 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1492 | 1492 |
| 1493 // Returns map with validated enum cache in object register. | 1493 // Returns map with validated enum cache in object register. |
| 1494 void CheckEnumCache(Register object, | 1494 void CheckEnumCache(Register object, |
| 1495 Register null_value, | 1495 Register null_value, |
| 1496 Register scratch0, | 1496 Register scratch0, |
| 1497 Register scratch1, | 1497 Register scratch1, |
| 1498 Register scratch2, | 1498 Register scratch2, |
| 1499 Register scratch3, | 1499 Register scratch3, |
| 1500 Label* call_runtime); | 1500 Label* call_runtime); |
| 1501 | 1501 |
| 1502 // AllocationSiteInfo support. Arrays may have an associated | 1502 // AllocationMemento support. Arrays may have an associated |
| 1503 // AllocationSiteInfo object that can be checked for in order to pretransition | 1503 // AllocationMemento object that can be checked for in order to pretransition |
| 1504 // to another type. | 1504 // to another type. |
| 1505 // On entry, receiver should point to the array object. | 1505 // On entry, receiver should point to the array object. |
| 1506 // If allocation info is present, the Z flag is set (so that the eq | 1506 // If allocation info is present, the Z flag is set (so that the eq |
| 1507 // condition will pass). | 1507 // condition will pass). |
| 1508 void TestJSArrayForAllocationSiteInfo(Register receiver, | 1508 void TestJSArrayForAllocationMemento(Register receiver, |
| 1509 Register scratch1, | 1509 Register scratch1, |
| 1510 Register scratch2); | 1510 Register scratch2); |
| 1511 | 1511 |
| 1512 // The stack pointer has to switch between csp and jssp when setting up and | 1512 // The stack pointer has to switch between csp and jssp when setting up and |
| 1513 // destroying the exit frame. Hence preserving/restoring the registers is | 1513 // destroying the exit frame. Hence preserving/restoring the registers is |
| 1514 // slightly more complicated than simple push/pop operations. | 1514 // slightly more complicated than simple push/pop operations. |
| 1515 void ExitFramePreserveFPRegs(); | 1515 void ExitFramePreserveFPRegs(); |
| 1516 void ExitFrameRestoreFPRegs(); | 1516 void ExitFrameRestoreFPRegs(); |
| 1517 | 1517 |
| 1518 // Enter exit frame. Exit frames are used when calling C code from generated | 1518 // Enter exit frame. Exit frames are used when calling C code from generated |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2132 #error "Unsupported option" | 2132 #error "Unsupported option" |
| 2133 #define CODE_COVERAGE_STRINGIFY(x) #x | 2133 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2134 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2134 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2135 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2136 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2137 #else | 2137 #else |
| 2138 #define ACCESS_MASM(masm) masm-> | 2138 #define ACCESS_MASM(masm) masm-> |
| 2139 #endif | 2139 #endif |
| 2140 | 2140 |
| 2141 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2141 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |