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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 | 539 |
540 // Check if the object in register heap_object is a string. Afterwards the | 540 // Check if the object in register heap_object is a string. Afterwards the |
541 // register map contains the object map and the register instance_type | 541 // register map contains the object map and the register instance_type |
542 // contains the instance_type. The registers map and instance_type can be the | 542 // contains the instance_type. The registers map and instance_type can be the |
543 // same in which case it contains the instance type afterwards. Either of the | 543 // same in which case it contains the instance type afterwards. Either of the |
544 // registers map and instance_type can be the same as heap_object. | 544 // registers map and instance_type can be the same as heap_object. |
545 Condition IsObjectStringType(Register heap_object, | 545 Condition IsObjectStringType(Register heap_object, |
546 Register map, | 546 Register map, |
547 Register instance_type); | 547 Register instance_type); |
548 | 548 |
549 // FCmp is similar to integer cmp, but requires unsigned | 549 // FCmp compares and pops the two values on top of the FPU stack. |
| 550 // The flag results are similar to integer cmp, but requires unsigned |
550 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 551 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
551 void FCmp(); | 552 void FCmp(); |
552 | 553 |
553 // Abort execution if argument is not a number. Used in debug code. | 554 // Abort execution if argument is not a number. Used in debug code. |
554 void AbortIfNotNumber(Register object); | 555 void AbortIfNotNumber(Register object); |
555 | 556 |
556 // Abort execution if argument is not a smi. Used in debug code. | 557 // Abort execution if argument is not a smi. Used in debug code. |
557 void AbortIfNotSmi(Register object); | 558 void AbortIfNotSmi(Register object); |
558 | 559 |
559 // Abort execution if argument is not the root value with the given index. | 560 // Abort execution if argument is not the root value with the given index. |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 } \ | 896 } \ |
896 masm-> | 897 masm-> |
897 #else | 898 #else |
898 #define ACCESS_MASM(masm) masm-> | 899 #define ACCESS_MASM(masm) masm-> |
899 #endif | 900 #endif |
900 | 901 |
901 | 902 |
902 } } // namespace v8::internal | 903 } } // namespace v8::internal |
903 | 904 |
904 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 905 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |