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 15 matching lines...) Expand all Loading... |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #include "codegen-inl.h" | 30 #include "codegen-inl.h" |
31 #include "debug.h" | 31 #include "debug.h" |
32 | 32 |
33 namespace v8 { namespace internal { | 33 namespace v8 { namespace internal { |
34 | 34 |
35 | 35 |
| 36 // Currently debug break is not supported in frame exit code on ARM. |
| 37 bool BreakLocationIterator::IsDebugBreakAtReturn() { |
| 38 return false; |
| 39 } |
| 40 |
| 41 |
| 42 // Currently debug break is not supported in frame exit code on ARM. |
| 43 void BreakLocationIterator::SetDebugBreakAtReturn() { |
| 44 UNIMPLEMENTED(); |
| 45 } |
| 46 |
| 47 |
| 48 // Currently debug break is not supported in frame exit code on ARM. |
| 49 void BreakLocationIterator::ClearDebugBreakAtReturn() { |
| 50 UNIMPLEMENTED(); |
| 51 } |
| 52 |
| 53 |
36 #define __ masm-> | 54 #define __ masm-> |
37 | 55 |
38 | 56 |
39 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, | 57 static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
40 RegList pointer_regs) { | 58 RegList pointer_regs) { |
41 // Save the content of all general purpose registers in memory. This copy in | 59 // Save the content of all general purpose registers in memory. This copy in |
42 // memory is later pushed onto the JS expression stack for the fake JS frame | 60 // memory is later pushed onto the JS expression stack for the fake JS frame |
43 // generated and also to the C frame generated on top of that. In the JS | 61 // generated and also to the C frame generated on top of that. In the JS |
44 // frame ONLY the registers containing pointers will be pushed on the | 62 // frame ONLY the registers containing pointers will be pushed on the |
45 // expression stack. This causes the GC to update these pointers so that | 63 // 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... |
161 | 179 |
162 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { | 180 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { |
163 // Generate nothing as CodeStub CallFunction is not used on ARM. | 181 // Generate nothing as CodeStub CallFunction is not used on ARM. |
164 } | 182 } |
165 | 183 |
166 | 184 |
167 #undef __ | 185 #undef __ |
168 | 186 |
169 | 187 |
170 } } // namespace v8::internal | 188 } } // namespace v8::internal |
OLD | NEW |