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

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

Issue 352583008: Rollback to Version 3.28.4 (based on bleeding_edge revision r22031) (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 5 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/x64/code-stubs-x64.cc ('k') | src/x64/full-codegen-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // ----------- S t a t e ------------- 155 // ----------- S t a t e -------------
156 // -- rdx : type feedback slot (smi) 156 // -- rdx : type feedback slot (smi)
157 // -- rdi : function 157 // -- rdi : function
158 // ----------------------------------- 158 // -----------------------------------
159 Generate_DebugBreakCallHelper(masm, rdx.bit() | rdi.bit(), 0, false); 159 Generate_DebugBreakCallHelper(masm, rdx.bit() | rdi.bit(), 0, false);
160 } 160 }
161 161
162 162
163 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { 163 void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
164 // Register state for IC load call (from ic-x64.cc). 164 // Register state for IC load call (from ic-x64.cc).
165 Register receiver = LoadIC::ReceiverRegister(); 165 // ----------- S t a t e -------------
166 Register name = LoadIC::NameRegister(); 166 // -- rax : receiver
167 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); 167 // -- rcx : name
168 // -----------------------------------
169 Generate_DebugBreakCallHelper(masm, rax.bit() | rcx.bit(), 0, false);
168 } 170 }
169 171
170 172
171 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { 173 void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) {
172 // Register state for IC store call (from ic-x64.cc). 174 // Register state for IC store call (from ic-x64.cc).
173 // ----------- S t a t e ------------- 175 // ----------- S t a t e -------------
174 // -- rax : value 176 // -- rax : value
175 // -- rcx : name 177 // -- rcx : name
176 // -- rdx : receiver 178 // -- rdx : receiver
177 // ----------------------------------- 179 // -----------------------------------
178 Generate_DebugBreakCallHelper( 180 Generate_DebugBreakCallHelper(
179 masm, rax.bit() | rcx.bit() | rdx.bit(), 0, false); 181 masm, rax.bit() | rcx.bit() | rdx.bit(), 0, false);
180 } 182 }
181 183
182 184
183 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { 185 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
184 // Register state for keyed IC load call (from ic-x64.cc). 186 // Register state for keyed IC load call (from ic-x64.cc).
185 Register receiver = KeyedLoadIC::ReceiverRegister(); 187 // ----------- S t a t e -------------
186 Register name = KeyedLoadIC::NameRegister(); 188 // -- rax : key
187 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0, false); 189 // -- rdx : receiver
190 // -----------------------------------
191 Generate_DebugBreakCallHelper(masm, rax.bit() | rdx.bit(), 0, false);
188 } 192 }
189 193
190 194
191 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 195 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
192 // Register state for keyed IC load call (from ic-x64.cc). 196 // Register state for keyed IC load call (from ic-x64.cc).
193 // ----------- S t a t e ------------- 197 // ----------- S t a t e -------------
194 // -- rax : value 198 // -- rax : value
195 // -- rcx : key 199 // -- rcx : key
196 // -- rdx : receiver 200 // -- rdx : receiver
197 // ----------------------------------- 201 // -----------------------------------
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 __ jmp(rdx); 307 __ jmp(rdx);
304 } 308 }
305 309
306 const bool LiveEdit::kFrameDropperSupported = true; 310 const bool LiveEdit::kFrameDropperSupported = true;
307 311
308 #undef __ 312 #undef __
309 313
310 } } // namespace v8::internal 314 } } // namespace v8::internal
311 315
312 #endif // V8_TARGET_ARCH_X64 316 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698