| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 | 550 |
| 551 // Abort execution if argument is a smi, enabled via --debug-code. | 551 // Abort execution if argument is a smi, enabled via --debug-code. |
| 552 void AssertNotSmi(Register object); | 552 void AssertNotSmi(Register object); |
| 553 | 553 |
| 554 // Abort execution if argument is not a string, enabled via --debug-code. | 554 // Abort execution if argument is not a string, enabled via --debug-code. |
| 555 void AssertString(Register object); | 555 void AssertString(Register object); |
| 556 | 556 |
| 557 // Abort execution if argument is not a name, enabled via --debug-code. | 557 // Abort execution if argument is not a name, enabled via --debug-code. |
| 558 void AssertName(Register object); | 558 void AssertName(Register object); |
| 559 | 559 |
| 560 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 561 // via --debug-code. |
| 562 void AssertUndefinedOrAllocationSite(Register object); |
| 563 |
| 560 // --------------------------------------------------------------------------- | 564 // --------------------------------------------------------------------------- |
| 561 // Exception handling | 565 // Exception handling |
| 562 | 566 |
| 563 // Push a new try handler and link it into try handler chain. | 567 // Push a new try handler and link it into try handler chain. |
| 564 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 568 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
| 565 | 569 |
| 566 // Unlink the stack handler on top of the stack from the try handler chain. | 570 // Unlink the stack handler on top of the stack from the try handler chain. |
| 567 void PopTryHandler(); | 571 void PopTryHandler(); |
| 568 | 572 |
| 569 // Throw to the top handler in the try hander chain. | 573 // Throw to the top handler in the try hander chain. |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 } \ | 1126 } \ |
| 1123 masm-> | 1127 masm-> |
| 1124 #else | 1128 #else |
| 1125 #define ACCESS_MASM(masm) masm-> | 1129 #define ACCESS_MASM(masm) masm-> |
| 1126 #endif | 1130 #endif |
| 1127 | 1131 |
| 1128 | 1132 |
| 1129 } } // namespace v8::internal | 1133 } } // namespace v8::internal |
| 1130 | 1134 |
| 1131 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1135 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |