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

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

Issue 14662002: MIPS: 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 | 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { 229 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
230 // ---------- S t a t e -------------- 230 // ---------- S t a t e --------------
231 // -- a0 : value 231 // -- a0 : value
232 // -- a1 : key 232 // -- a1 : key
233 // -- a2 : receiver 233 // -- a2 : receiver
234 // -- ra : return address 234 // -- ra : return address
235 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); 235 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0);
236 } 236 }
237 237
238 238
239 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) {
240 // Register state for CompareNil IC
241 // ----------- S t a t e -------------
242 // -- a0 : value
243 // -----------------------------------
244 Generate_DebugBreakCallHelper(masm, a0.bit(), 0);
245 }
246
247
239 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { 248 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
240 // Calling convention for IC call (from ic-mips.cc). 249 // Calling convention for IC call (from ic-mips.cc).
241 // ----------- S t a t e ------------- 250 // ----------- S t a t e -------------
242 // -- a2: name 251 // -- a2: name
243 // ----------------------------------- 252 // -----------------------------------
244 Generate_DebugBreakCallHelper(masm, a2.bit(), 0); 253 Generate_DebugBreakCallHelper(masm, a2.bit(), 0);
245 } 254 }
246 255
247 256
248 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { 257 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 const bool Debug::kFrameDropperSupported = false; 337 const bool Debug::kFrameDropperSupported = false;
329 338
330 #undef __ 339 #undef __
331 340
332 341
333 #endif // ENABLE_DEBUGGER_SUPPORT 342 #endif // ENABLE_DEBUGGER_SUPPORT
334 343
335 } } // namespace v8::internal 344 } } // namespace v8::internal
336 345
337 #endif // V8_TARGET_ARCH_MIPS 346 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698