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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 void LoadUnsafeSmi(Register dst, Smi* source); | 157 void LoadUnsafeSmi(Register dst, Smi* source); |
158 void LoadUnsafeSmi(Register dst, Handle<Object> source) { | 158 void LoadUnsafeSmi(Register dst, Handle<Object> source) { |
159 LoadUnsafeSmi(dst, Smi::cast(*source)); | 159 LoadUnsafeSmi(dst, Smi::cast(*source)); |
160 } | 160 } |
161 | 161 |
162 void Move(Register dst, Handle<Object> source); | 162 void Move(Register dst, Handle<Object> source); |
163 void Move(const Operand& dst, Handle<Object> source); | 163 void Move(const Operand& dst, Handle<Object> source); |
164 void Cmp(Register dst, Handle<Object> source); | 164 void Cmp(Register dst, Handle<Object> source); |
165 void Cmp(const Operand& dst, Handle<Object> source); | 165 void Cmp(const Operand& dst, Handle<Object> source); |
166 void Push(Handle<Object> source); | 166 void Push(Handle<Object> source); |
| 167 void Push(Smi* smi); |
167 | 168 |
168 // Control Flow | 169 // Control Flow |
169 void Jump(Address destination, RelocInfo::Mode rmode); | 170 void Jump(Address destination, RelocInfo::Mode rmode); |
170 void Jump(ExternalReference ext); | 171 void Jump(ExternalReference ext); |
171 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 172 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
172 | 173 |
173 void Call(Address destination, RelocInfo::Mode rmode); | 174 void Call(Address destination, RelocInfo::Mode rmode); |
174 void Call(ExternalReference ext); | 175 void Call(ExternalReference ext); |
175 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); | 176 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); |
176 | 177 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 } \ | 400 } \ |
400 masm-> | 401 masm-> |
401 #else | 402 #else |
402 #define ACCESS_MASM(masm) masm-> | 403 #define ACCESS_MASM(masm) masm-> |
403 #endif | 404 #endif |
404 | 405 |
405 | 406 |
406 } } // namespace v8::internal | 407 } } // namespace v8::internal |
407 | 408 |
408 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 409 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |