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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 // same in which case it contains the instance type afterwards. Either of the | 479 // same in which case it contains the instance type afterwards. Either of the |
480 // registers map and instance_type can be the same as heap_object. | 480 // registers map and instance_type can be the same as heap_object. |
481 Condition IsObjectStringType(Register heap_object, | 481 Condition IsObjectStringType(Register heap_object, |
482 Register map, | 482 Register map, |
483 Register instance_type); | 483 Register instance_type); |
484 | 484 |
485 // FCmp is similar to integer cmp, but requires unsigned | 485 // FCmp is similar to integer cmp, but requires unsigned |
486 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). | 486 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). |
487 void FCmp(); | 487 void FCmp(); |
488 | 488 |
| 489 // Abort execution if argument is not a number. Used in debug code. |
| 490 void AbortIfNotNumber(Register object, const char* msg); |
| 491 |
489 // --------------------------------------------------------------------------- | 492 // --------------------------------------------------------------------------- |
490 // Exception handling | 493 // Exception handling |
491 | 494 |
492 // Push a new try handler and link into try handler chain. The return | 495 // Push a new try handler and link into try handler chain. The return |
493 // address must be pushed before calling this helper. | 496 // address must be pushed before calling this helper. |
494 void PushTryHandler(CodeLocation try_location, HandlerType type); | 497 void PushTryHandler(CodeLocation try_location, HandlerType type); |
495 | 498 |
496 // Unlink the stack handler on top of the stack from the try handler chain. | 499 // Unlink the stack handler on top of the stack from the try handler chain. |
497 void PopTryHandler(); | 500 void PopTryHandler(); |
498 | 501 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 } \ | 804 } \ |
802 masm-> | 805 masm-> |
803 #else | 806 #else |
804 #define ACCESS_MASM(masm) masm-> | 807 #define ACCESS_MASM(masm) masm-> |
805 #endif | 808 #endif |
806 | 809 |
807 | 810 |
808 } } // namespace v8::internal | 811 } } // namespace v8::internal |
809 | 812 |
810 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 813 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |