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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // ----------------------------------- | 154 // ----------------------------------- |
155 // Registers r0, r1, and r2 contain objects that need to be pushed on the | 155 // Registers r0, r1, and r2 contain objects that need to be pushed on the |
156 // expression stack of the fake JS frame. | 156 // expression stack of the fake JS frame. |
157 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit()); | 157 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit()); |
158 } | 158 } |
159 | 159 |
160 | 160 |
161 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 161 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
162 // ---------- S t a t e -------------- | 162 // ---------- S t a t e -------------- |
163 // -- lr : return address | 163 // -- lr : return address |
| 164 // -- r0 : key |
164 // -- sp[0] : key | 165 // -- sp[0] : key |
165 // -- sp[4] : receiver | 166 // -- sp[4] : receiver |
166 Generate_DebugBreakCallHelper(masm, 0); | 167 Generate_DebugBreakCallHelper(masm, r0.bit()); |
167 } | 168 } |
168 | 169 |
169 | 170 |
170 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 171 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
171 // ---------- S t a t e -------------- | 172 // ---------- S t a t e -------------- |
172 // -- lr : return address | 173 // -- lr : return address |
173 // -- sp[0] : key | 174 // -- sp[0] : key |
174 // -- sp[4] : receiver | 175 // -- sp[4] : receiver |
175 Generate_DebugBreakCallHelper(masm, 0); | 176 Generate_DebugBreakCallHelper(masm, 0); |
176 } | 177 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 230 |
230 void Debug::SetUpFrameDropperFrame(StackFrame* bottom_js_frame, | 231 void Debug::SetUpFrameDropperFrame(StackFrame* bottom_js_frame, |
231 Handle<Code> code) { | 232 Handle<Code> code) { |
232 UNREACHABLE(); | 233 UNREACHABLE(); |
233 } | 234 } |
234 const int Debug::kFrameDropperFrameSize = -1; | 235 const int Debug::kFrameDropperFrameSize = -1; |
235 | 236 |
236 #endif // ENABLE_DEBUGGER_SUPPORT | 237 #endif // ENABLE_DEBUGGER_SUPPORT |
237 | 238 |
238 } } // namespace v8::internal | 239 } } // namespace v8::internal |
OLD | NEW |