| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 Register result); | 1777 Register result); |
| 1778 | 1778 |
| 1779 | 1779 |
| 1780 // --------------------------------------------------------------------------- | 1780 // --------------------------------------------------------------------------- |
| 1781 // Debugging. | 1781 // Debugging. |
| 1782 | 1782 |
| 1783 // Calls Abort(msg) if the condition cond is not satisfied. | 1783 // Calls Abort(msg) if the condition cond is not satisfied. |
| 1784 // Use --debug_code to enable. | 1784 // Use --debug_code to enable. |
| 1785 void Assert(Condition cond, BailoutReason reason); | 1785 void Assert(Condition cond, BailoutReason reason); |
| 1786 void AssertRegisterIsClear(Register reg, BailoutReason reason); | 1786 void AssertRegisterIsClear(Register reg, BailoutReason reason); |
| 1787 void AssertRegisterIsRoot(Register reg, Heap::RootListIndex index); | 1787 void AssertRegisterIsRoot( |
| 1788 Register reg, |
| 1789 Heap::RootListIndex index, |
| 1790 BailoutReason reason = kRegisterDidNotMatchExpectedRoot); |
| 1788 void AssertFastElements(Register elements); | 1791 void AssertFastElements(Register elements); |
| 1789 | 1792 |
| 1790 // Abort if the specified register contains the invalid color bit pattern. | 1793 // Abort if the specified register contains the invalid color bit pattern. |
| 1791 // The pattern must be in bits [1:0] of 'reg' register. | 1794 // The pattern must be in bits [1:0] of 'reg' register. |
| 1792 // | 1795 // |
| 1793 // If emit_debug_code() is false, this emits no code. | 1796 // If emit_debug_code() is false, this emits no code. |
| 1794 void AssertHasValidColor(const Register& reg); | 1797 void AssertHasValidColor(const Register& reg); |
| 1795 | 1798 |
| 1796 // Abort if 'object' register doesn't point to a string object. | 1799 // Abort if 'object' register doesn't point to a string object. |
| 1797 // | 1800 // |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2197 #error "Unsupported option" | 2200 #error "Unsupported option" |
| 2198 #define CODE_COVERAGE_STRINGIFY(x) #x | 2201 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2199 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2202 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2200 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2203 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2201 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2204 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2202 #else | 2205 #else |
| 2203 #define ACCESS_MASM(masm) masm-> | 2206 #define ACCESS_MASM(masm) masm-> |
| 2204 #endif | 2207 #endif |
| 2205 | 2208 |
| 2206 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2209 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |