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

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

Issue 8318014: Make _CallFunction proxy-aware. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Kevin's comment. Created 9 years, 1 month 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 244 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
245 // Register state just before return from JS function (from codegen-x64.cc). 245 // Register state just before return from JS function (from codegen-x64.cc).
246 // ----------- S t a t e ------------- 246 // ----------- S t a t e -------------
247 // -- rax: return value 247 // -- rax: return value
248 // ----------------------------------- 248 // -----------------------------------
249 Generate_DebugBreakCallHelper(masm, rax.bit(), 0, true); 249 Generate_DebugBreakCallHelper(masm, rax.bit(), 0, true);
250 } 250 }
251 251
252 252
253 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) { 253 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
254 // Register state for stub CallFunction (from CallFunctionStub in ic-x64.cc). 254 // Register state for stub CallFunction (from CallFunctionStub in ic-x64.cc).
255 // ----------- S t a t e ------------- 255 // ----------- S t a t e -------------
256 // No registers used on entry. 256 // -- rdi : function
257 // ----------------------------------- 257 // -----------------------------------
258 Generate_DebugBreakCallHelper(masm, 0, 0, false); 258 Generate_DebugBreakCallHelper(masm, rdi.bit(), 0, false);
259 } 259 }
260 260
261 261
262 void Debug::GenerateSlot(MacroAssembler* masm) { 262 void Debug::GenerateSlot(MacroAssembler* masm) {
263 // Generate enough nop's to make space for a call instruction. 263 // Generate enough nop's to make space for a call instruction.
264 Label check_codesize; 264 Label check_codesize;
265 __ bind(&check_codesize); 265 __ bind(&check_codesize);
266 __ RecordDebugBreakSlot(); 266 __ RecordDebugBreakSlot();
267 for (int i = 0; i < Assembler::kDebugBreakSlotLength; i++) { 267 for (int i = 0; i < Assembler::kDebugBreakSlotLength; i++) {
268 __ nop(); 268 __ nop();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 const bool Debug::kFrameDropperSupported = true; 312 const bool Debug::kFrameDropperSupported = true;
313 313
314 #undef __ 314 #undef __
315 315
316 #endif // ENABLE_DEBUGGER_SUPPORT 316 #endif // ENABLE_DEBUGGER_SUPPORT
317 317
318 } } // namespace v8::internal 318 } } // namespace v8::internal
319 319
320 #endif // V8_TARGET_ARCH_X64 320 #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