| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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); | 164 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
| 165 | 165 |
| 166 void Call(Address destination, RelocInfo::Mode rmode); | 166 void Call(Address destination, RelocInfo::Mode rmode); |
| 167 void Call(ExternalReference ext); | 167 void Call(ExternalReference ext); |
| 168 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); | 168 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); |
| 169 | 169 |
| 170 // Compare register value to a heap object pointer in a handle. |
| 171 void CmpHeapObject(Register heap_object_reg, Handle<Object> heap_object); |
| 172 |
| 173 // Push a heap object pointer in a handle on the stack. |
| 174 void PushHeapObject(Handle<Object> heap_object); |
| 175 |
| 170 // Compare object type for heap object. | 176 // Compare object type for heap object. |
| 171 // Incoming register is heap_object and outgoing register is map. | 177 // Incoming register is heap_object and outgoing register is map. |
| 172 void CmpObjectType(Register heap_object, InstanceType type, Register map); | 178 void CmpObjectType(Register heap_object, InstanceType type, Register map); |
| 173 | 179 |
| 174 // Compare instance type for map. | 180 // Compare instance type for map. |
| 175 void CmpInstanceType(Register map, InstanceType type); | 181 void CmpInstanceType(Register map, InstanceType type); |
| 176 | 182 |
| 177 // FCmp is similar to integer cmp, but requires unsigned | 183 // FCmp is similar to integer cmp, but requires unsigned |
| 178 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 184 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
| 179 void FCmp(); | 185 void FCmp(); |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 } \ | 395 } \ |
| 390 masm-> | 396 masm-> |
| 391 #else | 397 #else |
| 392 #define ACCESS_MASM(masm) masm-> | 398 #define ACCESS_MASM(masm) masm-> |
| 393 #endif | 399 #endif |
| 394 | 400 |
| 395 | 401 |
| 396 } } // namespace v8::internal | 402 } } // namespace v8::internal |
| 397 | 403 |
| 398 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 404 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |