| 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 // --------------------------------------------------------------------------- | 575 // --------------------------------------------------------------------------- |
| 576 // Debugger Support | 576 // Debugger Support |
| 577 | 577 |
| 578 void DebugBreak(); | 578 void DebugBreak(); |
| 579 #endif | 579 #endif |
| 580 | 580 |
| 581 // --------------------------------------------------------------------------- | 581 // --------------------------------------------------------------------------- |
| 582 // Exception handling | 582 // Exception handling |
| 583 | 583 |
| 584 // Push a new try handler and link into try handler chain. | 584 // Push a new try handler and link into try handler chain. |
| 585 void PushTryHandler(CodeLocation try_location, | 585 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
| 586 HandlerType type, | |
| 587 int handler_index); | |
| 588 | 586 |
| 589 // Unlink the stack handler on top of the stack from the try handler chain. | 587 // Unlink the stack handler on top of the stack from the try handler chain. |
| 590 // Must preserve the result register. | 588 // Must preserve the result register. |
| 591 void PopTryHandler(); | 589 void PopTryHandler(); |
| 592 | 590 |
| 593 // Passes thrown value (in r0) to the handler of top of the try handler chain. | 591 // Passes thrown value (in r0) to the handler of top of the try handler chain. |
| 594 void Throw(Register value); | 592 void Throw(Register value); |
| 595 | 593 |
| 596 // Propagates an uncatchable exception to the top of the current JS stack's | 594 // Propagates an uncatchable exception to the top of the current JS stack's |
| 597 // handler chain. | 595 // handler chain. |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1369 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1372 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1370 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1373 #else | 1371 #else |
| 1374 #define ACCESS_MASM(masm) masm-> | 1372 #define ACCESS_MASM(masm) masm-> |
| 1375 #endif | 1373 #endif |
| 1376 | 1374 |
| 1377 | 1375 |
| 1378 } } // namespace v8::internal | 1376 } } // namespace v8::internal |
| 1379 | 1377 |
| 1380 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1378 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |