OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 #if defined(V8_TARGET_ARCH_MIPS) | 32 #if defined(V8_TARGET_ARCH_MIPS) |
33 | 33 |
34 #include "codegen-inl.h" | 34 #include "codegen-inl.h" |
35 #include "debug.h" | 35 #include "debug.h" |
36 | 36 |
37 namespace v8 { | 37 namespace v8 { |
38 namespace internal { | 38 namespace internal { |
39 | 39 |
40 #ifdef ENABLE_DEBUGGER_SUPPORT | 40 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 41 |
41 bool BreakLocationIterator::IsDebugBreakAtReturn() { | 42 bool BreakLocationIterator::IsDebugBreakAtReturn() { |
42 return Debug::IsDebugBreakAtReturn(rinfo()); | 43 UNIMPLEMENTED_MIPS(); |
| 44 return false; |
43 } | 45 } |
44 | 46 |
45 | 47 |
46 void BreakLocationIterator::SetDebugBreakAtReturn() { | 48 void BreakLocationIterator::SetDebugBreakAtReturn() { |
47 UNIMPLEMENTED_MIPS(); | 49 UNIMPLEMENTED_MIPS(); |
48 } | 50 } |
49 | 51 |
50 | 52 |
51 // Restore the JS frame exit code. | 53 // Restore the JS frame exit code. |
52 void BreakLocationIterator::ClearDebugBreakAtReturn() { | 54 void BreakLocationIterator::ClearDebugBreakAtReturn() { |
53 UNIMPLEMENTED_MIPS(); | 55 UNIMPLEMENTED_MIPS(); |
54 } | 56 } |
55 | 57 |
56 | 58 |
57 // A debug break in the exit code is identified by a call. | 59 // A debug break in the exit code is identified by the JS frame exit code |
| 60 // having been patched with li/call psuedo-instrunction (liu/ori/jalr) |
58 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) { | 61 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) { |
59 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode())); | 62 UNIMPLEMENTED_MIPS(); |
60 return rinfo->IsPatchedReturnSequence(); | 63 return false; |
| 64 } |
| 65 |
| 66 |
| 67 bool BreakLocationIterator::IsDebugBreakAtSlot() { |
| 68 UNIMPLEMENTED_MIPS(); |
| 69 return false; |
| 70 } |
| 71 |
| 72 |
| 73 void BreakLocationIterator::SetDebugBreakAtSlot() { |
| 74 UNIMPLEMENTED_MIPS(); |
| 75 } |
| 76 |
| 77 |
| 78 void BreakLocationIterator::ClearDebugBreakAtSlot() { |
| 79 UNIMPLEMENTED_MIPS(); |
61 } | 80 } |
62 | 81 |
63 | 82 |
64 #define __ ACCESS_MASM(masm) | 83 #define __ ACCESS_MASM(masm) |
65 | 84 |
66 | 85 |
67 | |
68 | |
69 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 86 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
70 UNIMPLEMENTED_MIPS(); | 87 UNIMPLEMENTED_MIPS(); |
71 } | 88 } |
72 | 89 |
73 | 90 |
74 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 91 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
75 UNIMPLEMENTED_MIPS(); | 92 UNIMPLEMENTED_MIPS(); |
76 } | 93 } |
77 | 94 |
78 | 95 |
(...skipping 20 matching lines...) Expand all Loading... |
99 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { | 116 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { |
100 UNIMPLEMENTED_MIPS(); | 117 UNIMPLEMENTED_MIPS(); |
101 } | 118 } |
102 | 119 |
103 | 120 |
104 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { | 121 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { |
105 UNIMPLEMENTED_MIPS(); | 122 UNIMPLEMENTED_MIPS(); |
106 } | 123 } |
107 | 124 |
108 | 125 |
| 126 void Debug::GenerateSlot(MacroAssembler* masm) { |
| 127 UNIMPLEMENTED_MIPS(); |
| 128 } |
| 129 |
| 130 |
| 131 void Debug::GenerateSlotDebugBreak(MacroAssembler* masm) { |
| 132 UNIMPLEMENTED_MIPS(); |
| 133 } |
| 134 |
| 135 |
109 void Debug::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { | 136 void Debug::GeneratePlainReturnLiveEdit(MacroAssembler* masm) { |
110 masm->Abort("LiveEdit frame dropping is not supported on mips"); | 137 UNIMPLEMENTED_MIPS(); |
111 } | |
112 | |
113 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { | |
114 masm->Abort("LiveEdit frame dropping is not supported on mips"); | |
115 } | 138 } |
116 | 139 |
117 | 140 |
| 141 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
| 142 UNIMPLEMENTED_MIPS(); |
| 143 } |
| 144 |
| 145 |
118 const bool Debug::kFrameDropperSupported = false; | 146 const bool Debug::kFrameDropperSupported = false; |
119 | 147 |
120 #undef __ | 148 #undef __ |
121 | 149 |
122 | 150 |
123 #endif // ENABLE_DEBUGGER_SUPPORT | 151 #endif // ENABLE_DEBUGGER_SUPPORT |
124 | 152 |
125 } } // namespace v8::internal | 153 } } // namespace v8::internal |
126 | 154 |
127 #endif // V8_TARGET_ARCH_MIPS | 155 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |