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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 const ParameterCount& actual, | 134 const ParameterCount& actual, |
135 InvokeFlag flag); | 135 InvokeFlag flag); |
136 | 136 |
137 // Invoke specified builtin JavaScript function. Adds an entry to | 137 // Invoke specified builtin JavaScript function. Adds an entry to |
138 // the unresolved list if the name does not resolve. | 138 // the unresolved list if the name does not resolve. |
139 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); | 139 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); |
140 | 140 |
141 // Store the code object for the given builtin in the target register. | 141 // Store the code object for the given builtin in the target register. |
142 void GetBuiltinEntry(Register target, Builtins::JavaScript id); | 142 void GetBuiltinEntry(Register target, Builtins::JavaScript id); |
143 | 143 |
| 144 // --------------------------------------------------------------------------- |
| 145 // Macro instructions |
| 146 |
144 // Expression support | 147 // Expression support |
145 void Set(Register dst, int64_t x); | 148 void Set(Register dst, int64_t x); |
146 void Set(const Operand& dst, int64_t x); | 149 void Set(const Operand& dst, int64_t x); |
147 | 150 |
| 151 // Control Flow |
| 152 void Jump(Address destination, RelocInfo::Mode rmode); |
| 153 void Jump(ExternalReference ext); |
| 154 void Call(Address destination, RelocInfo::Mode rmode); |
| 155 void Call(ExternalReference ext); |
| 156 |
148 // Compare object type for heap object. | 157 // Compare object type for heap object. |
149 // Incoming register is heap_object and outgoing register is map. | 158 // Incoming register is heap_object and outgoing register is map. |
150 void CmpObjectType(Register heap_object, InstanceType type, Register map); | 159 void CmpObjectType(Register heap_object, InstanceType type, Register map); |
151 | 160 |
152 // Compare instance type for map. | 161 // Compare instance type for map. |
153 void CmpInstanceType(Register map, InstanceType type); | 162 void CmpInstanceType(Register map, InstanceType type); |
154 | 163 |
155 // FCmp is similar to integer cmp, but requires unsigned | 164 // FCmp is similar to integer cmp, but requires unsigned |
156 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 165 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
157 void FCmp(); | 166 void FCmp(); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } \ | 376 } \ |
368 masm-> | 377 masm-> |
369 #else | 378 #else |
370 #define ACCESS_MASM(masm) masm-> | 379 #define ACCESS_MASM(masm) masm-> |
371 #endif | 380 #endif |
372 | 381 |
373 | 382 |
374 } } // namespace v8::internal | 383 } } // namespace v8::internal |
375 | 384 |
376 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 385 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |