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

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

Issue 172523002: Create a function call IC (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comments addressed. 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
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { 229 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
230 // Register state for CompareNil IC 230 // Register state for CompareNil IC
231 // ----------- S t a t e ------------- 231 // ----------- S t a t e -------------
232 // -- r0 : value 232 // -- r0 : value
233 // ----------------------------------- 233 // -----------------------------------
234 Generate_DebugBreakCallHelper(masm, r0.bit(), 0); 234 Generate_DebugBreakCallHelper(masm, r0.bit(), 0);
235 } 235 }
236 236
237 237
238 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
239 // Calling convention for IC call (from ic-arm.cc)
240 // ----------- S t a t e -------------
241 // -- r2 : name
242 // -----------------------------------
243 Generate_DebugBreakCallHelper(masm, r2.bit(), 0);
244 }
245
246
247 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 238 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
248 // In places other than IC call sites it is expected that r0 is TOS which 239 // In places other than IC call sites it is expected that r0 is TOS which
249 // is an object - this is not generally the case so this should be used with 240 // is an object - this is not generally the case so this should be used with
250 // care. 241 // care.
251 Generate_DebugBreakCallHelper(masm, r0.bit(), 0); 242 Generate_DebugBreakCallHelper(masm, r0.bit(), 0);
252 } 243 }
253 244
254 245
255 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) { 246 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) {
256 // Register state for CallFunctionStub (from code-stubs-arm.cc). 247 // Register state for CallFunctionStub (from code-stubs-arm.cc).
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 320
330 #undef __ 321 #undef __
331 322
332 323
333 324
334 #endif // ENABLE_DEBUGGER_SUPPORT 325 #endif // ENABLE_DEBUGGER_SUPPORT
335 326
336 } } // namespace v8::internal 327 } } // namespace v8::internal
337 328
338 #endif // V8_TARGET_ARCH_ARM 329 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/a64/debug-a64.cc ('k') | src/ast.cc » ('j') | src/ia32/code-stubs-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698