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

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

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: Use GYP and fixe some typos Created 8 years, 1 month 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
« no previous file with comments | « src/sh4/cpu-sh4.cc ('k') | src/sh4/deoptimizer-sh4.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011-2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are
4 // met:
5 //
6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution.
12 // * Neither the name of Google Inc. nor the names of its
13 // contributors may be used to endorse or promote products derived
14 // from this software without specific prior written permission.
15 //
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 #include "v8.h"
29
30 #if defined(V8_TARGET_ARCH_SH4)
31
32 #include "codegen.h"
33 #include "debug.h"
34
35 namespace v8 {
36 namespace internal {
37
38 #ifdef ENABLE_DEBUGGER_SUPPORT
39
40
41 #define __ ACCESS_MASM(masm)
42
43 void BreakLocationIterator::ClearDebugBreakAtReturn() {
44 UNIMPLEMENTED();
45 }
46
47
48 void BreakLocationIterator::ClearDebugBreakAtSlot() {
49 UNIMPLEMENTED();
50 }
51
52
53 // A debug break in the frame exit code is identified by the JS frame exit code
54 // having been patched with a call instruction.
55 bool Debug::IsDebugBreakAtReturn(RelocInfo* rinfo) {
56 UNIMPLEMENTED();
57 return false;
58 }
59
60
61 bool BreakLocationIterator::IsDebugBreakAtReturn() {
62 return Debug::IsDebugBreakAtReturn(rinfo());
63 }
64
65
66 bool BreakLocationIterator::IsDebugBreakAtSlot() {
67 UNIMPLEMENTED();
68 return false;
69 }
70
71
72 void BreakLocationIterator::SetDebugBreakAtReturn() {
73 UNIMPLEMENTED();
74 }
75
76
77 void BreakLocationIterator::SetDebugBreakAtSlot() {
78 UNIMPLEMENTED();
79 }
80
81
82 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) {
83 __ UNIMPLEMENTED_BREAK();
84 }
85
86
87 void Debug::GenerateConstructCallDebugBreak(MacroAssembler* masm) {
88 __ UNIMPLEMENTED_BREAK();
89 }
90
91
92 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) {
93 __ UNIMPLEMENTED_BREAK();
94 }
95
96
97 void Debug::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) {
98 __ UNIMPLEMENTED_BREAK();
99 }
100
101
102 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) {
103 __ UNIMPLEMENTED_BREAK();
104 }
105
106
107 void Debug::GenerateLoadICDebugBreak(MacroAssembler* masm) {
108 __ UNIMPLEMENTED_BREAK();
109 }
110
111
112 void Debug::GeneratePlainReturnLiveEdit(MacroAssembler* masm) {
113 __ UNIMPLEMENTED_BREAK();
114 }
115
116
117 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) {
118 __ UNIMPLEMENTED_BREAK();
119 }
120
121
122 void Debug::GenerateSlot(MacroAssembler* masm) {
123 __ UNIMPLEMENTED_BREAK();
124 }
125
126
127 void Debug::GenerateSlotDebugBreak(MacroAssembler* masm) {
128 __ UNIMPLEMENTED_BREAK();
129 }
130
131
132 void Debug::GenerateStoreICDebugBreak(MacroAssembler* masm) {
133 __ UNIMPLEMENTED_BREAK();
134 }
135
136
137 void Debug::GenerateStubNoRegistersDebugBreak(MacroAssembler* masm) {
138 __ UNIMPLEMENTED_BREAK();
139 }
140
141 const bool Debug::kFrameDropperSupported = true;
142
143 #undef __
144
145 #endif // ENABLE_DEBUGGER_SUPPORT
146
147 } } // namespace v8::internal
148
149 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/sh4/cpu-sh4.cc ('k') | src/sh4/deoptimizer-sh4.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698