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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 void DecrementCounter(Condition cc, StatsCounter* counter, int value); | 501 void DecrementCounter(Condition cc, StatsCounter* counter, int value); |
502 | 502 |
503 | 503 |
504 // --------------------------------------------------------------------------- | 504 // --------------------------------------------------------------------------- |
505 // Debugging | 505 // Debugging |
506 | 506 |
507 // Calls Abort(msg) if the condition cc is not satisfied. | 507 // Calls Abort(msg) if the condition cc is not satisfied. |
508 // Use --debug_code to enable. | 508 // Use --debug_code to enable. |
509 void Assert(Condition cc, const char* msg); | 509 void Assert(Condition cc, const char* msg); |
510 | 510 |
| 511 void AssertFastElements(Register elements); |
| 512 |
511 // Like Assert(), but always enabled. | 513 // Like Assert(), but always enabled. |
512 void Check(Condition cc, const char* msg); | 514 void Check(Condition cc, const char* msg); |
513 | 515 |
514 // Print a message to stdout and abort execution. | 516 // Print a message to stdout and abort execution. |
515 void Abort(const char* msg); | 517 void Abort(const char* msg); |
516 | 518 |
517 // Check that the stack is aligned. | 519 // Check that the stack is aligned. |
518 void CheckStackAlignment(); | 520 void CheckStackAlignment(); |
519 | 521 |
520 // Verify restrictions about code generated in stubs. | 522 // Verify restrictions about code generated in stubs. |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 } \ | 636 } \ |
635 masm-> | 637 masm-> |
636 #else | 638 #else |
637 #define ACCESS_MASM(masm) masm-> | 639 #define ACCESS_MASM(masm) masm-> |
638 #endif | 640 #endif |
639 | 641 |
640 | 642 |
641 } } // namespace v8::internal | 643 } } // namespace v8::internal |
642 | 644 |
643 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 645 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |