OLD | NEW |
1 // Copyright 2006-2008 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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { | 125 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
126 // Register state for IC load call (from ic-ia32.cc). | 126 // Register state for IC load call (from ic-ia32.cc). |
127 // ----------- S t a t e ------------- | 127 // ----------- S t a t e ------------- |
128 // -- ecx : name | 128 // -- ecx : name |
129 // ----------------------------------- | 129 // ----------------------------------- |
130 Generate_DebugBreakCallHelper(masm, ecx.bit(), false); | 130 Generate_DebugBreakCallHelper(masm, ecx.bit(), false); |
131 } | 131 } |
132 | 132 |
133 | 133 |
134 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 134 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
135 // REgister state for IC store call (from ic-ia32.cc). | 135 // Register state for IC store call (from ic-ia32.cc). |
136 // ----------- S t a t e ------------- | 136 // ----------- S t a t e ------------- |
137 // -- eax : value | 137 // -- eax : value |
138 // -- ecx : name | 138 // -- ecx : name |
| 139 // -- edx : receiver |
139 // ----------------------------------- | 140 // ----------------------------------- |
140 Generate_DebugBreakCallHelper(masm, eax.bit() | ecx.bit(), false); | 141 Generate_DebugBreakCallHelper(masm, eax.bit() | ecx.bit() | edx.bit(), false); |
141 } | 142 } |
142 | 143 |
143 | 144 |
144 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 145 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
145 // Register state for keyed IC load call (from ic-ia32.cc). | 146 // Register state for keyed IC load call (from ic-ia32.cc). |
146 // ----------- S t a t e ------------- | 147 // ----------- S t a t e ------------- |
147 // No registers used on entry. | 148 // No registers used on entry. |
148 // ----------------------------------- | 149 // ----------------------------------- |
149 Generate_DebugBreakCallHelper(masm, 0, false); | 150 Generate_DebugBreakCallHelper(masm, 0, false); |
150 } | 151 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // ----------------------------------- | 200 // ----------------------------------- |
200 Generate_DebugBreakCallHelper(masm, 0, false); | 201 Generate_DebugBreakCallHelper(masm, 0, false); |
201 } | 202 } |
202 | 203 |
203 | 204 |
204 #undef __ | 205 #undef __ |
205 | 206 |
206 #endif // ENABLE_DEBUGGER_SUPPORT | 207 #endif // ENABLE_DEBUGGER_SUPPORT |
207 | 208 |
208 } } // namespace v8::internal | 209 } } // namespace v8::internal |
OLD | NEW |