OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
962 Label* fail); | 962 Label* fail); |
963 | 963 |
964 // ------------------------------------------------------------------------- | 964 // ------------------------------------------------------------------------- |
965 // Debugger Support. | 965 // Debugger Support. |
966 | 966 |
967 void DebugBreak(); | 967 void DebugBreak(); |
968 | 968 |
969 // ------------------------------------------------------------------------- | 969 // ------------------------------------------------------------------------- |
970 // Exception handling. | 970 // Exception handling. |
971 | 971 |
972 // Push a new try handler and link into try handler chain. | 972 // Push a new stack handler and link into stack handler chain. |
973 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 973 void PushStackHandler(); |
974 | 974 |
975 // Unlink the stack handler on top of the stack from the try handler chain. | 975 // Unlink the stack handler on top of the stack from the stack handler chain. |
976 // Must preserve the result register. | 976 // Must preserve the result register. |
977 void PopTryHandler(); | 977 void PopStackHandler(); |
978 | 978 |
979 // Copies a fixed number of fields of heap objects from src to dst. | 979 // Copies a fixed number of fields of heap objects from src to dst. |
980 void CopyFields(Register dst, Register src, RegList temps, int field_count); | 980 void CopyFields(Register dst, Register src, RegList temps, int field_count); |
981 | 981 |
982 // Copies a number of bytes from src to dst. All registers are clobbered. On | 982 // Copies a number of bytes from src to dst. All registers are clobbered. On |
983 // exit src and dst will point to the place just after where the last byte was | 983 // exit src and dst will point to the place just after where the last byte was |
984 // read or written and length will be zero. | 984 // read or written and length will be zero. |
985 void CopyBytes(Register src, | 985 void CopyBytes(Register src, |
986 Register dst, | 986 Register dst, |
987 Register length, | 987 Register length, |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1714 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1715 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1715 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1716 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1716 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1717 #else | 1717 #else |
1718 #define ACCESS_MASM(masm) masm-> | 1718 #define ACCESS_MASM(masm) masm-> |
1719 #endif | 1719 #endif |
1720 | 1720 |
1721 } } // namespace v8::internal | 1721 } } // namespace v8::internal |
1722 | 1722 |
1723 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1723 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |