| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // overwritten by the address of DebugBreakXXX. | 126 // overwritten by the address of DebugBreakXXX. |
| 127 __ mov(ip, Operand(ExternalReference(Debug_Address::AfterBreakTarget()))); | 127 __ mov(ip, Operand(ExternalReference(Debug_Address::AfterBreakTarget()))); |
| 128 __ ldr(ip, MemOperand(ip)); | 128 __ ldr(ip, MemOperand(ip)); |
| 129 __ Jump(ip); | 129 __ Jump(ip); |
| 130 } | 130 } |
| 131 | 131 |
| 132 | 132 |
| 133 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 133 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
| 134 // Calling convention for IC load (from ic-arm.cc). | 134 // Calling convention for IC load (from ic-arm.cc). |
| 135 // ----------- S t a t e ------------- | 135 // ----------- S t a t e ------------- |
| 136 // -- r0 : receiver | |
| 137 // -- r2 : name | 136 // -- r2 : name |
| 138 // -- lr : return address | 137 // -- lr : return address |
| 138 // -- r0 : receiver |
| 139 // -- [sp] : receiver | 139 // -- [sp] : receiver |
| 140 // ----------------------------------- | 140 // ----------------------------------- |
| 141 // Registers r0 and r2 contain objects that need to be pushed on the | 141 // Registers r0 and r2 contain objects that need to be pushed on the |
| 142 // expression stack of the fake JS frame. | 142 // expression stack of the fake JS frame. |
| 143 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit()); | 143 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit()); |
| 144 } | 144 } |
| 145 | 145 |
| 146 | 146 |
| 147 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 147 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
| 148 // Calling convention for IC store (from ic-arm.cc). | 148 // Calling convention for IC store (from ic-arm.cc). |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 | 229 |
| 230 void Debug::SetUpFrameDropperFrame(StackFrame* bottom_js_frame, | 230 void Debug::SetUpFrameDropperFrame(StackFrame* bottom_js_frame, |
| 231 Handle<Code> code) { | 231 Handle<Code> code) { |
| 232 UNREACHABLE(); | 232 UNREACHABLE(); |
| 233 } | 233 } |
| 234 const int Debug::kFrameDropperFrameSize = -1; | 234 const int Debug::kFrameDropperFrameSize = -1; |
| 235 | 235 |
| 236 #endif // ENABLE_DEBUGGER_SUPPORT | 236 #endif // ENABLE_DEBUGGER_SUPPORT |
| 237 | 237 |
| 238 } } // namespace v8::internal | 238 } } // namespace v8::internal |
| OLD | NEW |