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

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

Issue 256653004: Always include debugger support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Makefile Created 6 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 | « src/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.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 19 matching lines...) Expand all
30 #include "v8.h" 30 #include "v8.h"
31 31
32 #if V8_TARGET_ARCH_MIPS 32 #if V8_TARGET_ARCH_MIPS
33 33
34 #include "codegen.h" 34 #include "codegen.h"
35 #include "debug.h" 35 #include "debug.h"
36 36
37 namespace v8 { 37 namespace v8 {
38 namespace internal { 38 namespace internal {
39 39
40 #ifdef ENABLE_DEBUGGER_SUPPORT
41
42 bool BreakLocationIterator::IsDebugBreakAtReturn() { 40 bool BreakLocationIterator::IsDebugBreakAtReturn() {
43 return Debug::IsDebugBreakAtReturn(rinfo()); 41 return Debug::IsDebugBreakAtReturn(rinfo());
44 } 42 }
45 43
46 44
47 void BreakLocationIterator::SetDebugBreakAtReturn() { 45 void BreakLocationIterator::SetDebugBreakAtReturn() {
48 // Mips return sequence: 46 // Mips return sequence:
49 // mov sp, fp 47 // mov sp, fp
50 // lw fp, sp(0) 48 // lw fp, sp(0)
51 // lw ra, sp(4) 49 // lw ra, sp(4)
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 330
333 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { 331 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
334 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnMips); 332 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnMips);
335 } 333 }
336 334
337 335
338 const bool Debug::kFrameDropperSupported = false; 336 const bool Debug::kFrameDropperSupported = false;
339 337
340 #undef __ 338 #undef __
341 339
342
343 #endif // ENABLE_DEBUGGER_SUPPORT
344
345 } } // namespace v8::internal 340 } } // namespace v8::internal
346 341
347 #endif // V8_TARGET_ARCH_MIPS 342 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698