Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: src/ia32/debug-ia32.cc

Issue 573009: Change LoadIC interface on ia32 to take arguments in registers. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698