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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // -- lr : return address | 165 // -- lr : return address |
166 // -- r0 : key | 166 // -- r0 : key |
167 // -- sp[0] : key | 167 // -- sp[0] : key |
168 // -- sp[4] : receiver | 168 // -- sp[4] : receiver |
169 Generate_DebugBreakCallHelper(masm, r0.bit()); | 169 Generate_DebugBreakCallHelper(masm, r0.bit()); |
170 } | 170 } |
171 | 171 |
172 | 172 |
173 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 173 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
174 // ---------- S t a t e -------------- | 174 // ---------- S t a t e -------------- |
| 175 // -- r0 : value |
| 176 // -- r1 : key |
| 177 // -- r2 : receiver |
175 // -- lr : return address | 178 // -- lr : return address |
176 // -- sp[0] : key | 179 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit()); |
177 // -- sp[4] : receiver | |
178 Generate_DebugBreakCallHelper(masm, 0); | |
179 } | 180 } |
180 | 181 |
181 | 182 |
182 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { | 183 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { |
183 // Calling convention for IC call (from ic-arm.cc) | 184 // Calling convention for IC call (from ic-arm.cc) |
184 // ----------- S t a t e ------------- | 185 // ----------- S t a t e ------------- |
185 // -- r0: number of arguments | 186 // -- r0: number of arguments |
186 // -- r1: receiver | 187 // -- r1: receiver |
187 // -- lr: return address | 188 // -- lr: return address |
188 // ----------------------------------- | 189 // ----------------------------------- |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 Handle<Code> code) { | 235 Handle<Code> code) { |
235 UNREACHABLE(); | 236 UNREACHABLE(); |
236 } | 237 } |
237 const int Debug::kFrameDropperFrameSize = -1; | 238 const int Debug::kFrameDropperFrameSize = -1; |
238 | 239 |
239 #endif // ENABLE_DEBUGGER_SUPPORT | 240 #endif // ENABLE_DEBUGGER_SUPPORT |
240 | 241 |
241 } } // namespace v8::internal | 242 } } // namespace v8::internal |
242 | 243 |
243 #endif // V8_TARGET_ARCH_ARM | 244 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |