| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // Control Flow | 168 // Control Flow |
| 169 void Jump(Address destination, RelocInfo::Mode rmode); | 169 void Jump(Address destination, RelocInfo::Mode rmode); |
| 170 void Jump(ExternalReference ext); | 170 void Jump(ExternalReference ext); |
| 171 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 171 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
| 172 | 172 |
| 173 void Call(Address destination, RelocInfo::Mode rmode); | 173 void Call(Address destination, RelocInfo::Mode rmode); |
| 174 void Call(ExternalReference ext); | 174 void Call(ExternalReference ext); |
| 175 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); | 175 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); |
| 176 | 176 |
| 177 // Compare object type for heap object. | 177 // Compare object type for heap object. |
| 178 // Always use unsigned comparisons: above and below, not less and greater. |
| 178 // Incoming register is heap_object and outgoing register is map. | 179 // Incoming register is heap_object and outgoing register is map. |
| 179 // They may be the same register, and may be kScratchRegister. | 180 // They may be the same register, and may be kScratchRegister. |
| 180 void CmpObjectType(Register heap_object, InstanceType type, Register map); | 181 void CmpObjectType(Register heap_object, InstanceType type, Register map); |
| 181 | 182 |
| 182 // Compare instance type for map. | 183 // Compare instance type for map. |
| 184 // Always use unsigned comparisons: above and below, not less and greater. |
| 183 void CmpInstanceType(Register map, InstanceType type); | 185 void CmpInstanceType(Register map, InstanceType type); |
| 184 | 186 |
| 185 // FCmp is similar to integer cmp, but requires unsigned | 187 // FCmp is similar to integer cmp, but requires unsigned |
| 186 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 188 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
| 187 void FCmp(); | 189 void FCmp(); |
| 188 | 190 |
| 189 // --------------------------------------------------------------------------- | 191 // --------------------------------------------------------------------------- |
| 190 // Exception handling | 192 // Exception handling |
| 191 | 193 |
| 192 // Push a new try handler and link into try handler chain. The return | 194 // Push a new try handler and link into try handler chain. The return |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 } \ | 399 } \ |
| 398 masm-> | 400 masm-> |
| 399 #else | 401 #else |
| 400 #define ACCESS_MASM(masm) masm-> | 402 #define ACCESS_MASM(masm) masm-> |
| 401 #endif | 403 #endif |
| 402 | 404 |
| 403 | 405 |
| 404 } } // namespace v8::internal | 406 } } // namespace v8::internal |
| 405 | 407 |
| 406 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 408 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |