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

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

Issue 14106011: Allow setting debugger breakpoints on CompareNilICs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 | « no previous file | src/builtins.h » ('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 // 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 217 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
218 // ---------- S t a t e -------------- 218 // ---------- S t a t e --------------
219 // -- r0 : value 219 // -- r0 : value
220 // -- r1 : key 220 // -- r1 : key
221 // -- r2 : receiver 221 // -- r2 : receiver
222 // -- lr : return address 222 // -- lr : return address
223 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit(), 0); 223 Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit() | r2.bit(), 0);
224 } 224 }
225 225
226 226
227 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
228 // Register state for CompareNil IC
229 // ----------- S t a t e -------------
230 // -- r0 : value
231 // -----------------------------------
232 Generate_DebugBreakCallHelper(masm, r0.bit(), 0);
233 }
234
235
227 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { 236 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
228 // Calling convention for IC call (from ic-arm.cc) 237 // Calling convention for IC call (from ic-arm.cc)
229 // ----------- S t a t e ------------- 238 // ----------- S t a t e -------------
230 // -- r2 : name 239 // -- r2 : name
231 // ----------------------------------- 240 // -----------------------------------
232 Generate_DebugBreakCallHelper(masm, r2.bit(), 0); 241 Generate_DebugBreakCallHelper(masm, r2.bit(), 0);
233 } 242 }
234 243
235 244
236 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 245 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 325
317 #undef __ 326 #undef __
318 327
319 328
320 329
321 #endif // ENABLE_DEBUGGER_SUPPORT 330 #endif // ENABLE_DEBUGGER_SUPPORT
322 331
323 } } // namespace v8::internal 332 } } // namespace v8::internal
324 333
325 #endif // V8_TARGET_ARCH_ARM 334 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698