| 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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(StackHandler::Kind kind, int handler_index); | 868 void PushTryHandler(StackHandler::Kind kind, int handler_index); |
| 869 | 869 |
| 870 // 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. |
| 871 // Must preserve the result register. | 871 // Must preserve the result register. |
| 872 void PopTryHandler(); | 872 void PopTryHandler(); |
| 873 | 873 |
| 874 // Passes thrown value (in v0) to the handler of top of the try handler chain. | 874 // Passes thrown value to the handler of top of the try handler chain. |
| 875 void Throw(Register value); | 875 void Throw(Register value); |
| 876 | 876 |
| 877 // 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 |
| 878 // handler chain. | 878 // handler chain. |
| 879 void ThrowUncatchable(UncatchableExceptionType type, Register value); | 879 void ThrowUncatchable(Register value); |
| 880 | 880 |
| 881 // Copies a fixed number of fields of heap objects from src to dst. | 881 // Copies a fixed number of fields of heap objects from src to dst. |
| 882 void CopyFields(Register dst, Register src, RegList temps, int field_count); | 882 void CopyFields(Register dst, Register src, RegList temps, int field_count); |
| 883 | 883 |
| 884 // Copies a number of bytes from src to dst. All registers are clobbered. On | 884 // Copies a number of bytes from src to dst. All registers are clobbered. On |
| 885 // exit src and dst will point to the place just after where the last byte was | 885 // exit src and dst will point to the place just after where the last byte was |
| 886 // read or written and length will be zero. | 886 // read or written and length will be zero. |
| 887 void CopyBytes(Register src, | 887 void CopyBytes(Register src, |
| 888 Register dst, | 888 Register dst, |
| 889 Register length, | 889 Register length, |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1470 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1470 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1471 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1471 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1472 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1472 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1473 #else | 1473 #else |
| 1474 #define ACCESS_MASM(masm) masm-> | 1474 #define ACCESS_MASM(masm) masm-> |
| 1475 #endif | 1475 #endif |
| 1476 | 1476 |
| 1477 } } // namespace v8::internal | 1477 } } // namespace v8::internal |
| 1478 | 1478 |
| 1479 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1479 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |