OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 } | 165 } |
166 | 166 |
167 void LoadUnsafeSmi(Register dst, Smi* source); | 167 void LoadUnsafeSmi(Register dst, Smi* source); |
168 void LoadUnsafeSmi(Register dst, Handle<Object> source) { | 168 void LoadUnsafeSmi(Register dst, Handle<Object> source) { |
169 LoadUnsafeSmi(dst, Smi::cast(*source)); | 169 LoadUnsafeSmi(dst, Smi::cast(*source)); |
170 } | 170 } |
171 | 171 |
172 void Move(Register dst, Handle<Object> source); | 172 void Move(Register dst, Handle<Object> source); |
173 void Move(const Operand& dst, Handle<Object> source); | 173 void Move(const Operand& dst, Handle<Object> source); |
174 void Cmp(Register dst, Handle<Object> source); | 174 void Cmp(Register dst, Handle<Object> source); |
| 175 void Cmp(const Operand& dst, Handle<Object> source); |
175 void Push(Handle<Object> source); | 176 void Push(Handle<Object> source); |
176 | 177 |
177 // Control Flow | 178 // Control Flow |
178 void Jump(Address destination, RelocInfo::Mode rmode); | 179 void Jump(Address destination, RelocInfo::Mode rmode); |
179 void Jump(ExternalReference ext); | 180 void Jump(ExternalReference ext); |
180 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 181 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
181 | 182 |
182 void Call(Address destination, RelocInfo::Mode rmode); | 183 void Call(Address destination, RelocInfo::Mode rmode); |
183 void Call(ExternalReference ext); | 184 void Call(ExternalReference ext); |
184 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); | 185 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 } \ | 406 } \ |
406 masm-> | 407 masm-> |
407 #else | 408 #else |
408 #define ACCESS_MASM(masm) masm-> | 409 #define ACCESS_MASM(masm) masm-> |
409 #endif | 410 #endif |
410 | 411 |
411 | 412 |
412 } } // namespace v8::internal | 413 } } // namespace v8::internal |
413 | 414 |
414 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 415 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |