| 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/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
| (...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 Label* fail); | 992 Label* fail); |
| 993 | 993 |
| 994 // ------------------------------------------------------------------------- | 994 // ------------------------------------------------------------------------- |
| 995 // Debugger Support. | 995 // Debugger Support. |
| 996 | 996 |
| 997 void DebugBreak(); | 997 void DebugBreak(); |
| 998 | 998 |
| 999 // ------------------------------------------------------------------------- | 999 // ------------------------------------------------------------------------- |
| 1000 // Exception handling. | 1000 // Exception handling. |
| 1001 | 1001 |
| 1002 // Push a new try handler and link into try handler chain. | 1002 // Push a new stack handler and link into stack handler chain. |
| 1003 void PushTryHandler(StackHandler::Kind kind, int handler_index); | 1003 void PushStackHandler(); |
| 1004 | 1004 |
| 1005 // Unlink the stack handler on top of the stack from the try handler chain. | 1005 // Unlink the stack handler on top of the stack from the stack handler chain. |
| 1006 // Must preserve the result register. | 1006 // Must preserve the result register. |
| 1007 void PopTryHandler(); | 1007 void PopStackHandler(); |
| 1008 | 1008 |
| 1009 // Copies a fixed number of fields of heap objects from src to dst. | 1009 // Copies a fixed number of fields of heap objects from src to dst. |
| 1010 void CopyFields(Register dst, Register src, RegList temps, int field_count); | 1010 void CopyFields(Register dst, Register src, RegList temps, int field_count); |
| 1011 | 1011 |
| 1012 // Copies a number of bytes from src to dst. All registers are clobbered. On | 1012 // Copies a number of bytes from src to dst. All registers are clobbered. On |
| 1013 // exit src and dst will point to the place just after where the last byte was | 1013 // exit src and dst will point to the place just after where the last byte was |
| 1014 // read or written and length will be zero. | 1014 // read or written and length will be zero. |
| 1015 void CopyBytes(Register src, | 1015 void CopyBytes(Register src, |
| 1016 Register dst, | 1016 Register dst, |
| 1017 Register length, | 1017 Register length, |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1783 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1783 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1784 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1784 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1785 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1785 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1786 #else | 1786 #else |
| 1787 #define ACCESS_MASM(masm) masm-> | 1787 #define ACCESS_MASM(masm) masm-> |
| 1788 #endif | 1788 #endif |
| 1789 | 1789 |
| 1790 } } // namespace v8::internal | 1790 } } // namespace v8::internal |
| 1791 | 1791 |
| 1792 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1792 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |