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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // --------------------------------------------------------------------------- | 154 // --------------------------------------------------------------------------- |
155 // Macro instructions | 155 // Macro instructions |
156 | 156 |
157 // Expression support | 157 // Expression support |
158 void Set(Register dst, int64_t x); | 158 void Set(Register dst, int64_t x); |
159 void Set(const Operand& dst, int64_t x); | 159 void Set(const Operand& dst, int64_t x); |
160 | 160 |
161 // Control Flow | 161 // Control Flow |
162 void Jump(Address destination, RelocInfo::Mode rmode); | 162 void Jump(Address destination, RelocInfo::Mode rmode); |
163 void Jump(ExternalReference ext); | 163 void Jump(ExternalReference ext); |
| 164 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
| 165 |
164 void Call(Address destination, RelocInfo::Mode rmode); | 166 void Call(Address destination, RelocInfo::Mode rmode); |
165 void Call(ExternalReference ext); | 167 void Call(ExternalReference ext); |
| 168 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); |
166 | 169 |
167 // Compare object type for heap object. | 170 // Compare object type for heap object. |
168 // Incoming register is heap_object and outgoing register is map. | 171 // Incoming register is heap_object and outgoing register is map. |
169 void CmpObjectType(Register heap_object, InstanceType type, Register map); | 172 void CmpObjectType(Register heap_object, InstanceType type, Register map); |
170 | 173 |
171 // Compare instance type for map. | 174 // Compare instance type for map. |
172 void CmpInstanceType(Register map, InstanceType type); | 175 void CmpInstanceType(Register map, InstanceType type); |
173 | 176 |
174 // FCmp is similar to integer cmp, but requires unsigned | 177 // FCmp is similar to integer cmp, but requires unsigned |
175 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 178 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 } \ | 389 } \ |
387 masm-> | 390 masm-> |
388 #else | 391 #else |
389 #define ACCESS_MASM(masm) masm-> | 392 #define ACCESS_MASM(masm) masm-> |
390 #endif | 393 #endif |
391 | 394 |
392 | 395 |
393 } } // namespace v8::internal | 396 } } // namespace v8::internal |
394 | 397 |
395 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 398 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |