OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 // --------------------------------------------------------------------------- | 542 // --------------------------------------------------------------------------- |
543 // Debugger Support | 543 // Debugger Support |
544 | 544 |
545 void DebugBreak(); | 545 void DebugBreak(); |
546 #endif | 546 #endif |
547 | 547 |
548 // --------------------------------------------------------------------------- | 548 // --------------------------------------------------------------------------- |
549 // Exception handling | 549 // Exception handling |
550 | 550 |
551 // Push a new try handler and link into try handler chain. | 551 // Push a new try handler and link into try handler chain. |
552 // The return address must be passed in register lr. | 552 void PushTryHandler(CodeLocation try_location, |
553 // On exit, r0 contains TOS (code slot). | 553 HandlerType type, |
554 void PushTryHandler(CodeLocation try_location, HandlerType type); | 554 int handler_index); |
555 | 555 |
556 // Unlink the stack handler on top of the stack from the try handler chain. | 556 // Unlink the stack handler on top of the stack from the try handler chain. |
557 // Must preserve the result register. | 557 // Must preserve the result register. |
558 void PopTryHandler(); | 558 void PopTryHandler(); |
559 | 559 |
560 // Passes thrown value (in r0) to the handler of top of the try handler chain. | 560 // Passes thrown value (in r0) to the handler of top of the try handler chain. |
561 void Throw(Register value); | 561 void Throw(Register value); |
562 | 562 |
563 // Propagates an uncatchable exception to the top of the current JS stack's | 563 // Propagates an uncatchable exception to the top of the current JS stack's |
564 // handler chain. | 564 // handler chain. |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1312 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1313 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1313 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1314 #else | 1314 #else |
1315 #define ACCESS_MASM(masm) masm-> | 1315 #define ACCESS_MASM(masm) masm-> |
1316 #endif | 1316 #endif |
1317 | 1317 |
1318 | 1318 |
1319 } } // namespace v8::internal | 1319 } } // namespace v8::internal |
1320 | 1320 |
1321 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1321 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |