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

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

Issue 172523002: Create a function call IC (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Created 6 years, 9 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
« src/ic.h ('K') | « src/v8globals.h ('k') | no next file » | 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 // 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { 224 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
225 // Register state for CompareNil IC 225 // Register state for CompareNil IC
226 // ----------- S t a t e ------------- 226 // ----------- S t a t e -------------
227 // -- rax : value 227 // -- rax : value
228 // ----------------------------------- 228 // -----------------------------------
229 Generate_DebugBreakCallHelper(masm, rax.bit(), 0, false); 229 Generate_DebugBreakCallHelper(masm, rax.bit(), 0, false);
230 } 230 }
231 231
232 232
233 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
234 // Register state for IC call call (from ic-x64.cc)
235 // ----------- S t a t e -------------
236 // -- rcx: function name
237 // -----------------------------------
238 Generate_DebugBreakCallHelper(masm, rcx.bit(), 0, false);
239 }
240
241
242 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 233 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
243 // Register state just before return from JS function (from codegen-x64.cc). 234 // Register state just before return from JS function (from codegen-x64.cc).
244 // ----------- S t a t e ------------- 235 // ----------- S t a t e -------------
245 // -- rax: return value 236 // -- rax: return value
246 // ----------------------------------- 237 // -----------------------------------
247 Generate_DebugBreakCallHelper(masm, rax.bit(), 0, true); 238 Generate_DebugBreakCallHelper(masm, rax.bit(), 0, true);
248 } 239 }
249 240
250 241
251 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) { 242 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 337
347 const bool Debug::kFrameDropperSupported = true; 338 const bool Debug::kFrameDropperSupported = true;
348 339
349 #undef __ 340 #undef __
350 341
351 #endif // ENABLE_DEBUGGER_SUPPORT 342 #endif // ENABLE_DEBUGGER_SUPPORT
352 343
353 } } // namespace v8::internal 344 } } // namespace v8::internal
354 345
355 #endif // V8_TARGET_ARCH_X64 346 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/ic.h ('K') | « src/v8globals.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698