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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 // several frames above. | 258 // several frames above. |
259 // There is no calling conventions here, because it never actually gets called, | 259 // There is no calling conventions here, because it never actually gets called, |
260 // it only gets returned to. | 260 // it only gets returned to. |
261 // Frame structure (conforms InternalFrame structure): | 261 // Frame structure (conforms InternalFrame structure): |
262 // -- JSFunction | 262 // -- JSFunction |
263 // -- code | 263 // -- code |
264 // -- SMI maker | 264 // -- SMI maker |
265 // -- context | 265 // -- context |
266 // -- frame base | 266 // -- frame base |
267 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { | 267 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
268 ExternalReference restarter_frame_function_slot = | 268 // Temporary disabled for failing test investigation. |
269 ExternalReference(Debug_Address::RestarterFrameFunctionPointer()); | 269 //ExternalReference restarter_frame_function_slot = |
270 __ mov(Operand::StaticVariable(restarter_frame_function_slot), Immediate(0)); | 270 // ExternalReference(Debug_Address::RestarterFrameFunctionPointer()); |
| 271 //__ mov(Operand::StaticVariable(restarter_frame_function_slot), Immediate(0))
; |
271 | 272 |
272 // We do not know our frame height, but set esp based on ebp. | 273 // We do not know our frame height, but set esp based on ebp. |
273 __ lea(esp, Operand(ebp, -4 * kPointerSize)); | 274 __ lea(esp, Operand(ebp, -4 * kPointerSize)); |
274 | 275 |
275 __ pop(edi); // function | 276 __ pop(edi); // function |
276 | 277 |
277 // Skip code self-reference and marker. | 278 // Skip code self-reference and marker. |
278 __ add(Operand(esp), Immediate(2 * kPointerSize)); | 279 __ add(Operand(esp), Immediate(2 * kPointerSize)); |
279 | 280 |
280 __ pop(esi); // Context. | 281 __ pop(esi); // Context. |
(...skipping 28 matching lines...) Expand all Loading... |
309 } | 310 } |
310 | 311 |
311 const int Debug::kFrameDropperFrameSize = 5; | 312 const int Debug::kFrameDropperFrameSize = 5; |
312 | 313 |
313 | 314 |
314 #endif // ENABLE_DEBUGGER_SUPPORT | 315 #endif // ENABLE_DEBUGGER_SUPPORT |
315 | 316 |
316 } } // namespace v8::internal | 317 } } // namespace v8::internal |
317 | 318 |
318 #endif // V8_TARGET_ARCH_IA32 | 319 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |