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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // overwritten by the address of DebugBreakXXX. | 118 // overwritten by the address of DebugBreakXXX. |
119 ExternalReference after_break_target = | 119 ExternalReference after_break_target = |
120 ExternalReference(Debug_Address::AfterBreakTarget()); | 120 ExternalReference(Debug_Address::AfterBreakTarget()); |
121 __ jmp(Operand::StaticVariable(after_break_target)); | 121 __ jmp(Operand::StaticVariable(after_break_target)); |
122 } | 122 } |
123 | 123 |
124 | 124 |
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 // -- eax : receiver |
128 // -- ecx : name | 129 // -- ecx : name |
129 // ----------------------------------- | 130 // ----------------------------------- |
130 Generate_DebugBreakCallHelper(masm, ecx.bit(), false); | 131 Generate_DebugBreakCallHelper(masm, eax.bit() | ecx.bit(), false); |
131 } | 132 } |
132 | 133 |
133 | 134 |
134 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { | 135 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
135 // Register state for IC store call (from ic-ia32.cc). | 136 // Register state for IC store call (from ic-ia32.cc). |
136 // ----------- S t a t e ------------- | 137 // ----------- S t a t e ------------- |
137 // -- eax : value | 138 // -- eax : value |
138 // -- ecx : name | 139 // -- ecx : name |
139 // -- edx : receiver | 140 // -- edx : receiver |
140 // ----------------------------------- | 141 // ----------------------------------- |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // ----------------------------------- | 201 // ----------------------------------- |
201 Generate_DebugBreakCallHelper(masm, 0, false); | 202 Generate_DebugBreakCallHelper(masm, 0, false); |
202 } | 203 } |
203 | 204 |
204 | 205 |
205 #undef __ | 206 #undef __ |
206 | 207 |
207 #endif // ENABLE_DEBUGGER_SUPPORT | 208 #endif // ENABLE_DEBUGGER_SUPPORT |
208 | 209 |
209 } } // namespace v8::internal | 210 } } // namespace v8::internal |
OLD | NEW |