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

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

Issue 256653004: Always include debugger support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Makefile Created 6 years, 8 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/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 20 matching lines...) Expand all
31 31
32 #include "codegen.h" 32 #include "codegen.h"
33 #include "debug.h" 33 #include "debug.h"
34 34
35 namespace v8 { 35 namespace v8 {
36 namespace internal { 36 namespace internal {
37 37
38 38
39 #define __ ACCESS_MASM(masm) 39 #define __ ACCESS_MASM(masm)
40 40
41
42 #ifdef ENABLE_DEBUGGER_SUPPORT
43 bool BreakLocationIterator::IsDebugBreakAtReturn() { 41 bool BreakLocationIterator::IsDebugBreakAtReturn() {
44 return Debug::IsDebugBreakAtReturn(rinfo()); 42 return Debug::IsDebugBreakAtReturn(rinfo());
45 } 43 }
46 44
47 45
48 void BreakLocationIterator::SetDebugBreakAtReturn() { 46 void BreakLocationIterator::SetDebugBreakAtReturn() {
49 // Patch the code emitted by FullCodeGenerator::EmitReturnSequence, changing 47 // Patch the code emitted by FullCodeGenerator::EmitReturnSequence, changing
50 // the return from JS function sequence from 48 // the return from JS function sequence from
51 // mov sp, fp 49 // mov sp, fp
52 // ldp fp, lr, [sp] #16 50 // ldp fp, lr, [sp] #16
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); 377 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64);
380 } 378 }
381 379
382 380
383 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { 381 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
384 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); 382 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64);
385 } 383 }
386 384
387 const bool Debug::kFrameDropperSupported = false; 385 const bool Debug::kFrameDropperSupported = false;
388 386
389 #endif // ENABLE_DEBUGGER_SUPPORT
390
391 } } // namespace v8::internal 387 } } // namespace v8::internal
392 388
393 #endif // V8_TARGET_ARCH_ARM64 389 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698