| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 | 122 |
| 123 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 123 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
| 124 // Calling convention for IC load (from ic-arm.cc). | 124 // Calling convention for IC load (from ic-arm.cc). |
| 125 // ----------- S t a t e ------------- | 125 // ----------- S t a t e ------------- |
| 126 // -- r0 : receiver | 126 // -- r0 : receiver |
| 127 // -- r2 : name | 127 // -- r2 : name |
| 128 // -- lr : return address | 128 // -- lr : return address |
| 129 // -- [sp] : receiver | 129 // -- [sp] : receiver |
| 130 // ----------------------------------- | 130 // ----------------------------------- |
| 131 // Registers r0 and r2 contain objects that needs to be pushed on the | 131 // Registers r0 and r2 contain objects that need to be pushed on the |
| 132 // expression stack of the fake JS frame. | 132 // expression stack of the fake JS frame. |
| 133 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit()); | 133 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit()); |
| 134 } | 134 } |
| 135 | 135 |
| 136 | 136 |
| 137 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 137 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
| 138 // Calling convention for IC store (from ic-arm.cc). | 138 // Calling convention for IC store (from ic-arm.cc). |
| 139 // ----------- S t a t e ------------- | 139 // ----------- S t a t e ------------- |
| 140 // -- r0 : receiver | 140 // -- r0 : value |
| 141 // -- r1 : receiver |
| 141 // -- r2 : name | 142 // -- r2 : name |
| 142 // -- lr : return address | 143 // -- lr : return address |
| 143 // -- [sp] : receiver | |
| 144 // ----------------------------------- | 144 // ----------------------------------- |
| 145 // Registers r0 and r2 contain objects that needs to be pushed on the | 145 // Registers r0, r1, and r2 contain objects that need to be pushed on the |
| 146 // expression stack of the fake JS frame. | 146 // expression stack of the fake JS frame. |
| 147 Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit()); | 147 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit()); |
| 148 } | 148 } |
| 149 | 149 |
| 150 | 150 |
| 151 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 151 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
| 152 // ---------- S t a t e -------------- | 152 // ---------- S t a t e -------------- |
| 153 // -- lr : return address | 153 // -- lr : return address |
| 154 // -- sp[0] : key | 154 // -- sp[0] : key |
| 155 // -- sp[4] : receiver | 155 // -- sp[4] : receiver |
| 156 Generate_DebugBreakCallHelper(masm, 0); | 156 Generate_DebugBreakCallHelper(masm, 0); |
| 157 } | 157 } |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 // ----------------------------------- | 204 // ----------------------------------- |
| 205 Generate_DebugBreakCallHelper(masm, 0); | 205 Generate_DebugBreakCallHelper(masm, 0); |
| 206 } | 206 } |
| 207 | 207 |
| 208 | 208 |
| 209 #undef __ | 209 #undef __ |
| 210 | 210 |
| 211 #endif // ENABLE_DEBUGGER_SUPPORT | 211 #endif // ENABLE_DEBUGGER_SUPPORT |
| 212 | 212 |
| 213 } } // namespace v8::internal | 213 } } // namespace v8::internal |
| OLD | NEW |