| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 // Calls Abort(msg) if the condition cc is not satisfied. | 456 // Calls Abort(msg) if the condition cc is not satisfied. |
| 457 // Use --debug_code to enable. | 457 // Use --debug_code to enable. |
| 458 void Assert(Condition cc, const char* msg); | 458 void Assert(Condition cc, const char* msg); |
| 459 | 459 |
| 460 // Like Assert(), but always enabled. | 460 // Like Assert(), but always enabled. |
| 461 void Check(Condition cc, const char* msg); | 461 void Check(Condition cc, const char* msg); |
| 462 | 462 |
| 463 // Print a message to stdout and abort execution. | 463 // Print a message to stdout and abort execution. |
| 464 void Abort(const char* msg); | 464 void Abort(const char* msg); |
| 465 | 465 |
| 466 // Check that the stack is aligned. |
| 467 void CheckStackAlignment(); |
| 468 |
| 466 // Verify restrictions about code generated in stubs. | 469 // Verify restrictions about code generated in stubs. |
| 467 void set_generating_stub(bool value) { generating_stub_ = value; } | 470 void set_generating_stub(bool value) { generating_stub_ = value; } |
| 468 bool generating_stub() { return generating_stub_; } | 471 bool generating_stub() { return generating_stub_; } |
| 469 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } | 472 void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } |
| 470 bool allow_stub_calls() { return allow_stub_calls_; } | 473 bool allow_stub_calls() { return allow_stub_calls_; } |
| 471 | 474 |
| 472 // --------------------------------------------------------------------------- | 475 // --------------------------------------------------------------------------- |
| 473 // String utilities. | 476 // String utilities. |
| 474 | 477 |
| 475 // Check whether the instance type represents a flat ascii string. Jump to the | 478 // Check whether the instance type represents a flat ascii string. Jump to the |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 } \ | 583 } \ |
| 581 masm-> | 584 masm-> |
| 582 #else | 585 #else |
| 583 #define ACCESS_MASM(masm) masm-> | 586 #define ACCESS_MASM(masm) masm-> |
| 584 #endif | 587 #endif |
| 585 | 588 |
| 586 | 589 |
| 587 } } // namespace v8::internal | 590 } } // namespace v8::internal |
| 588 | 591 |
| 589 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 592 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |