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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 // Debugger Support. | 858 // Debugger Support. |
859 | 859 |
860 void DebugBreak(); | 860 void DebugBreak(); |
861 #endif | 861 #endif |
862 | 862 |
863 | 863 |
864 // ------------------------------------------------------------------------- | 864 // ------------------------------------------------------------------------- |
865 // Exception handling. | 865 // Exception handling. |
866 | 866 |
867 // Push a new try handler and link into try handler chain. | 867 // Push a new try handler and link into try handler chain. |
868 void PushTryHandler(CodeLocation try_location, | 868 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
869 HandlerType type, | |
870 int handler_index); | |
871 | 869 |
872 // Unlink the stack handler on top of the stack from the try handler chain. | 870 // Unlink the stack handler on top of the stack from the try handler chain. |
873 // Must preserve the result register. | 871 // Must preserve the result register. |
874 void PopTryHandler(); | 872 void PopTryHandler(); |
875 | 873 |
876 // Passes thrown value (in v0) to the handler of top of the try handler chain. | 874 // Passes thrown value (in v0) to the handler of top of the try handler chain. |
877 void Throw(Register value); | 875 void Throw(Register value); |
878 | 876 |
879 // Propagates an uncatchable exception to the top of the current JS stack's | 877 // Propagates an uncatchable exception to the top of the current JS stack's |
880 // handler chain. | 878 // handler chain. |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1470 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1473 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1471 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1474 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1472 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1475 #else | 1473 #else |
1476 #define ACCESS_MASM(masm) masm-> | 1474 #define ACCESS_MASM(masm) masm-> |
1477 #endif | 1475 #endif |
1478 | 1476 |
1479 } } // namespace v8::internal | 1477 } } // namespace v8::internal |
1480 | 1478 |
1481 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1479 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |