| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // exclude up to 3 registers that do not need to be saved and restored. | 144 // exclude up to 3 registers that do not need to be saved and restored. |
| 145 void PushCallerSaved(SaveFPRegsMode fp_mode, | 145 void PushCallerSaved(SaveFPRegsMode fp_mode, |
| 146 Register exclusion1 = no_reg, | 146 Register exclusion1 = no_reg, |
| 147 Register exclusion2 = no_reg, | 147 Register exclusion2 = no_reg, |
| 148 Register exclusion3 = no_reg); | 148 Register exclusion3 = no_reg); |
| 149 void PopCallerSaved(SaveFPRegsMode fp_mode, | 149 void PopCallerSaved(SaveFPRegsMode fp_mode, |
| 150 Register exclusion1 = no_reg, | 150 Register exclusion1 = no_reg, |
| 151 Register exclusion2 = no_reg, | 151 Register exclusion2 = no_reg, |
| 152 Register exclusion3 = no_reg); | 152 Register exclusion3 = no_reg); |
| 153 | 153 |
| 154 // --------------------------------------------------------------------------- | 154 // --------------------------------------------------------------------------- |
| 155 // GC Support | 155 // GC Support |
| 156 |
| 156 | 157 |
| 157 enum RememberedSetFinalAction { | 158 enum RememberedSetFinalAction { |
| 158 kReturnAtEnd, | 159 kReturnAtEnd, |
| 159 kFallThroughAtEnd | 160 kFallThroughAtEnd |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 // Record in the remembered set the fact that we have a pointer to new space | 163 // Record in the remembered set the fact that we have a pointer to new space |
| 163 // at the address pointed to by the addr register. Only works if addr is not | 164 // at the address pointed to by the addr register. Only works if addr is not |
| 164 // in new space. | 165 // in new space. |
| 165 void RememberedSetHelper(Register addr, | 166 void RememberedSetHelper(Register addr, |
| (...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 masm->popfd(); \ | 1377 masm->popfd(); \ |
| 1377 } \ | 1378 } \ |
| 1378 masm-> | 1379 masm-> |
| 1379 #else | 1380 #else |
| 1380 #define ACCESS_MASM(masm) masm-> | 1381 #define ACCESS_MASM(masm) masm-> |
| 1381 #endif | 1382 #endif |
| 1382 | 1383 |
| 1383 } } // namespace v8::internal | 1384 } } // namespace v8::internal |
| 1384 | 1385 |
| 1385 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1386 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |