OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // The value is known to not be a smi. | 95 // The value is known to not be a smi. |
96 // object is the object being stored into, value is the object being stored. | 96 // object is the object being stored into, value is the object being stored. |
97 // If offset is zero, then the scratch register contains the array index into | 97 // If offset is zero, then the scratch register contains the array index into |
98 // the elements array represented as a Smi. | 98 // the elements array represented as a Smi. |
99 // All registers are clobbered by the operation. | 99 // All registers are clobbered by the operation. |
100 void RecordWriteNonSmi(Register object, | 100 void RecordWriteNonSmi(Register object, |
101 int offset, | 101 int offset, |
102 Register value, | 102 Register value, |
103 Register scratch); | 103 Register scratch); |
104 | 104 |
105 | |
106 #ifdef ENABLE_DEBUGGER_SUPPORT | 105 #ifdef ENABLE_DEBUGGER_SUPPORT |
107 // --------------------------------------------------------------------------- | 106 // --------------------------------------------------------------------------- |
108 // Debugger Support | 107 // Debugger Support |
109 | 108 |
110 void SaveRegistersToMemory(RegList regs); | 109 void SaveRegistersToMemory(RegList regs); |
111 void RestoreRegistersFromMemory(RegList regs); | 110 void RestoreRegistersFromMemory(RegList regs); |
112 void PushRegistersFromMemory(RegList regs); | 111 void PushRegistersFromMemory(RegList regs); |
113 void PopRegistersToMemory(RegList regs); | 112 void PopRegistersToMemory(RegList regs); |
114 void CopyRegistersFromStackToMemory(Register base, | 113 void CopyRegistersFromStackToMemory(Register base, |
115 Register scratch, | 114 Register scratch, |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 } \ | 855 } \ |
857 masm-> | 856 masm-> |
858 #else | 857 #else |
859 #define ACCESS_MASM(masm) masm-> | 858 #define ACCESS_MASM(masm) masm-> |
860 #endif | 859 #endif |
861 | 860 |
862 | 861 |
863 } } // namespace v8::internal | 862 } } // namespace v8::internal |
864 | 863 |
865 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 864 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |