OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 inline void JumpIfSmi(Register value, Label* smi_label) { | 277 inline void JumpIfSmi(Register value, Label* smi_label) { |
278 test(value, Immediate(kSmiTagMask)); | 278 test(value, Immediate(kSmiTagMask)); |
279 j(zero, smi_label); | 279 j(zero, smi_label); |
280 } | 280 } |
281 // Jump if register contain a non-smi. | 281 // Jump if register contain a non-smi. |
282 inline void JumpIfNotSmi(Register value, Label* not_smi_label) { | 282 inline void JumpIfNotSmi(Register value, Label* not_smi_label) { |
283 test(value, Immediate(kSmiTagMask)); | 283 test(value, Immediate(kSmiTagMask)); |
284 j(not_zero, not_smi_label); | 284 j(not_zero, not_smi_label); |
285 } | 285 } |
286 | 286 |
| 287 void LoadInstanceDescriptors(Register map, Register descriptors); |
| 288 |
287 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); | 289 void LoadPowerOf2(XMMRegister dst, Register scratch, int power); |
288 | 290 |
289 // Abort execution if argument is not a number. Used in debug code. | 291 // Abort execution if argument is not a number. Used in debug code. |
290 void AbortIfNotNumber(Register object); | 292 void AbortIfNotNumber(Register object); |
291 | 293 |
292 // Abort execution if argument is not a smi. Used in debug code. | 294 // Abort execution if argument is not a smi. Used in debug code. |
293 void AbortIfNotSmi(Register object); | 295 void AbortIfNotSmi(Register object); |
294 | 296 |
295 // Abort execution if argument is a smi. Used in debug code. | 297 // Abort execution if argument is a smi. Used in debug code. |
296 void AbortIfSmi(Register object); | 298 void AbortIfSmi(Register object); |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 } \ | 757 } \ |
756 masm-> | 758 masm-> |
757 #else | 759 #else |
758 #define ACCESS_MASM(masm) masm-> | 760 #define ACCESS_MASM(masm) masm-> |
759 #endif | 761 #endif |
760 | 762 |
761 | 763 |
762 } } // namespace v8::internal | 764 } } // namespace v8::internal |
763 | 765 |
764 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 766 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |