| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 Register scratch1, Register scratch2); | 590 Register scratch1, Register scratch2); |
| 591 | 591 |
| 592 | 592 |
| 593 // --------------------------------------------------------------------------- | 593 // --------------------------------------------------------------------------- |
| 594 // Debugging | 594 // Debugging |
| 595 | 595 |
| 596 // Calls Abort(msg) if the condition cc is not satisfied. | 596 // Calls Abort(msg) if the condition cc is not satisfied. |
| 597 // Use --debug_code to enable. | 597 // Use --debug_code to enable. |
| 598 void Assert(Condition cc, const char* msg); | 598 void Assert(Condition cc, const char* msg); |
| 599 void AssertRegisterIsRoot(Register reg, Heap::RootListIndex index); | 599 void AssertRegisterIsRoot(Register reg, Heap::RootListIndex index); |
| 600 void AssertFastElements(Register elements); |
| 600 | 601 |
| 601 // Like Assert(), but always enabled. | 602 // Like Assert(), but always enabled. |
| 602 void Check(Condition cc, const char* msg); | 603 void Check(Condition cc, const char* msg); |
| 603 | 604 |
| 604 // Print a message to stdout and abort execution. | 605 // Print a message to stdout and abort execution. |
| 605 void Abort(const char* msg); | 606 void Abort(const char* msg); |
| 606 | 607 |
| 607 // Verify restrictions about code generated in stubs. | 608 // Verify restrictions about code generated in stubs. |
| 608 void set_generating_stub(bool value) { generating_stub_ = value; } | 609 void set_generating_stub(bool value) { generating_stub_ = value; } |
| 609 bool generating_stub() { return generating_stub_; } | 610 bool generating_stub() { return generating_stub_; } |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 724 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 724 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 725 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 725 #else | 726 #else |
| 726 #define ACCESS_MASM(masm) masm-> | 727 #define ACCESS_MASM(masm) masm-> |
| 727 #endif | 728 #endif |
| 728 | 729 |
| 729 | 730 |
| 730 } } // namespace v8::internal | 731 } } // namespace v8::internal |
| 731 | 732 |
| 732 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 733 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |