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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 void DecrementCounter(StatsCounter* counter, int value); | 825 void DecrementCounter(StatsCounter* counter, int value); |
826 | 826 |
827 | 827 |
828 // --------------------------------------------------------------------------- | 828 // --------------------------------------------------------------------------- |
829 // Debugging | 829 // Debugging |
830 | 830 |
831 // Calls Abort(msg) if the condition cc is not satisfied. | 831 // Calls Abort(msg) if the condition cc is not satisfied. |
832 // Use --debug_code to enable. | 832 // Use --debug_code to enable. |
833 void Assert(Condition cc, const char* msg); | 833 void Assert(Condition cc, const char* msg); |
834 | 834 |
| 835 void AssertFastElements(Register elements); |
| 836 |
835 // Like Assert(), but always enabled. | 837 // Like Assert(), but always enabled. |
836 void Check(Condition cc, const char* msg); | 838 void Check(Condition cc, const char* msg); |
837 | 839 |
838 // Print a message to stdout and abort execution. | 840 // Print a message to stdout and abort execution. |
839 void Abort(const char* msg); | 841 void Abort(const char* msg); |
840 | 842 |
841 // Check that the stack is aligned. | 843 // Check that the stack is aligned. |
842 void CheckStackAlignment(); | 844 void CheckStackAlignment(); |
843 | 845 |
844 // Verify restrictions about code generated in stubs. | 846 // Verify restrictions about code generated in stubs. |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
955 } \ | 957 } \ |
956 masm-> | 958 masm-> |
957 #else | 959 #else |
958 #define ACCESS_MASM(masm) masm-> | 960 #define ACCESS_MASM(masm) masm-> |
959 #endif | 961 #endif |
960 | 962 |
961 | 963 |
962 } } // namespace v8::internal | 964 } } // namespace v8::internal |
963 | 965 |
964 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 966 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |