OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 UNIMPLEMENTED(); | 44 UNIMPLEMENTED(); |
45 } | 45 } |
46 | 46 |
47 | 47 |
48 // Currently debug break is not supported in frame exit code on ARM. | 48 // Currently debug break is not supported in frame exit code on ARM. |
49 void BreakLocationIterator::ClearDebugBreakAtReturn() { | 49 void BreakLocationIterator::ClearDebugBreakAtReturn() { |
50 UNIMPLEMENTED(); | 50 UNIMPLEMENTED(); |
51 } | 51 } |
52 | 52 |
53 | 53 |
| 54 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) { |
| 55 ASSERT(RelocInfo::IsJSReturn(rinfo->rmode())); |
| 56 // Currently debug break is not supported in frame exit code on ARM. |
| 57 return false; |
| 58 } |
| 59 |
| 60 |
54 #define __ masm-> | 61 #define __ masm-> |
55 | 62 |
56 | 63 |
57 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, | 64 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
58 RegList pointer_regs) { | 65 RegList pointer_regs) { |
59 // Save the content of all general purpose registers in memory. This copy in | 66 // Save the content of all general purpose registers in memory. This copy in |
60 // memory is later pushed onto the JS expression stack for the fake JS frame | 67 // memory is later pushed onto the JS expression stack for the fake JS frame |
61 // generated and also to the C frame generated on top of that. In the JS | 68 // generated and also to the C frame generated on top of that. In the JS |
62 // frame ONLY the registers containing pointers will be pushed on the | 69 // frame ONLY the registers containing pointers will be pushed on the |
63 // expression stack. This causes the GC to update these pointers so that | 70 // expression stack. This causes the GC to update these pointers so that |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 186 |
180 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { | 187 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { |
181 // Generate nothing as CodeStub CallFunction is not used on ARM. | 188 // Generate nothing as CodeStub CallFunction is not used on ARM. |
182 } | 189 } |
183 | 190 |
184 | 191 |
185 #undef __ | 192 #undef __ |
186 | 193 |
187 | 194 |
188 } } // namespace v8::internal | 195 } } // namespace v8::internal |
OLD | NEW |