| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 Register instance_type); | 575 Register instance_type); |
| 576 | 576 |
| 577 // FCmp compares and pops the two values on top of the FPU stack. | 577 // FCmp compares and pops the two values on top of the FPU stack. |
| 578 // The flag results are similar to integer cmp, but requires unsigned | 578 // The flag results are similar to integer cmp, but requires unsigned |
| 579 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 579 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
| 580 void FCmp(); | 580 void FCmp(); |
| 581 | 581 |
| 582 // Abort execution if argument is not a number. Used in debug code. | 582 // Abort execution if argument is not a number. Used in debug code. |
| 583 void AbortIfNotNumber(Register object); | 583 void AbortIfNotNumber(Register object); |
| 584 | 584 |
| 585 // Abort execution if argument is a smi. Used in debug code. |
| 586 void AbortIfSmi(Register object); |
| 587 |
| 585 // Abort execution if argument is not a smi. Used in debug code. | 588 // Abort execution if argument is not a smi. Used in debug code. |
| 586 void AbortIfNotSmi(Register object); | 589 void AbortIfNotSmi(Register object); |
| 587 | 590 |
| 588 // Abort execution if argument is not the root value with the given index. | 591 // Abort execution if argument is not the root value with the given index. |
| 589 void AbortIfNotRootValue(Register src, | 592 void AbortIfNotRootValue(Register src, |
| 590 Heap::RootListIndex root_value_index, | 593 Heap::RootListIndex root_value_index, |
| 591 const char* message); | 594 const char* message); |
| 592 | 595 |
| 593 // --------------------------------------------------------------------------- | 596 // --------------------------------------------------------------------------- |
| 594 // Exception handling | 597 // Exception handling |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 } \ | 955 } \ |
| 953 masm-> | 956 masm-> |
| 954 #else | 957 #else |
| 955 #define ACCESS_MASM(masm) masm-> | 958 #define ACCESS_MASM(masm) masm-> |
| 956 #endif | 959 #endif |
| 957 | 960 |
| 958 | 961 |
| 959 } } // namespace v8::internal | 962 } } // namespace v8::internal |
| 960 | 963 |
| 961 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 964 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |